Problem with another script that uses .htaccess

17 years 1 month ago #1203 by adblaze
I have another script that uses .htaccess and SEF Advance is not allowing the entries for this script to work properly. Does anyone have some advice on how I can get this running right. Here is what I have in my .htaccess file:

SEF Advance entries:

RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php

Idevaffiliate entries:

# Start iDevAffiliate SEO Code

RewriteEngine On

# Forced Tier Linking Code
RewriteRule ^signup-([0-9]+)\.html$ http://www\.adblaze\.com/idevaffiliate/signup\.php?ref=$1 [R=301,L]

# TextAds
RewriteRule ^([0-9]+)-([a-z]+)-([0-9]+)\.html$ http://www\.adblaze\.com/idevaffiliate/idevads\.php?id=$1&ad=$3 [R=301,L]
RewriteRule ^([0-9]+)-([a-z]+)-([0-9]+)-([0-9]+)\.html$ http://www\.adblaze\.com/idevaffiliate/idevads\.php?id=$1&ad=$3&page=$4 [R=301,L]

# Custom Links
RewriteRule ^([0-9]+)-([a-zA-Z0-9-]+)-([0-9]+)-url\.html$ http://www\.adblaze\.com/idevaffiliate/idevaffiliate\.php?id=$1&keyword=$2&url=$3 [R=301,L]
RewriteRule ^([0-9]+)-([a-zA-Z0-9-]+)-([0-9]+)-custom\.html$ http://www\.adblaze\.com/idevaffiliate/idevaffiliate\.php?id=$1&keyword=$2&custom=$3 [R=301,L]

# Standard Links
RewriteRule ^([0-9]+)\.html$ http://www\.adblaze\.com/idevaffiliate/idevaffiliate\.php?id=$1 [R=301,L]
RewriteRule ^([0-9]+)-([0-9]+)\.html$ http://www\.adblaze\.com/idevaffiliate/idevaffiliate\.php?id=$1&page=$2 [R=301,L]
RewriteRule ^([0-9]+)-([0-9]+)-([0-9]+)\.html$ http://www\.adblaze\.com/idevaffiliate/idevaffiliate\.php?id=$1&page=$2&set=$3 [R=301,L]
RewriteRule ^([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)\.html$ http://www\.adblaze\.com/idevaffiliate/idevaffiliate\.php?id=$1&page=$2&set=$3&link=$4 [R=301,L]
RewriteRule ^([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([a-zA-Z]+)\.html$ http://www\.adblaze\.com/idevaffiliate/idevaffiliate\.php?id=$1&page=$2&set=$3&link=$4&keyword=$5 [R=301,L]
RewriteRule ^([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([a-zA-Z]+)-([0-9]+)\.html$ http://www\.adblaze\.com/idevaffiliate/idevaffiliate\.php?id=$1&page=$2&set=$3&link=$4&keyword=$5&custom=$6 [R=301,L]
RewriteRule ^([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([a-zA-Z]+)-([0-9]+)-([0-9]+)\.html$ http://www\.adblaze\.com/idevaffiliate/idevaffiliate\.php?id=$1&page=$2&set=$3&link=$4&keyword=$5&custom=$6&url=$7 [R=301,L]

# End iDevAffiliate SEO Code

Please Log in or Create an account to join the conversation.

17 years 1 month ago #1205 by adblaze
Anyone? Any advice?

Please Log in or Create an account to join the conversation.

17 years 1 month ago #1217 by Saka
Try putting iDevAffiliate code before the code for SEF Advance.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

17 years 1 month ago #1219 by adblaze
I guess I should have tried that in the first place. Thanks, it worked.

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch