Problem with another script that uses .htaccess
- adblaze
-
Topic Author
- Offline
- New Member
-
Less
More
- Thank you received: 0
17 years 8 months 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
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.
- adblaze
-
Topic Author
- Offline
- New Member
-
Less
More
- Thank you received: 0
17 years 8 months ago #1205
by adblaze
Anyone? Any advice?
Please Log in or Create an account to join the conversation.
- Saka
-
- Offline
- Administrator
-
17 years 8 months ago #1217
by Saka
Emir Sakic
www.sakic.net
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.
- adblaze
-
Topic Author
- Offline
- New Member
-
Less
More
- Thank you received: 0
17 years 8 months 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.