Jump to content
Sign in to follow this  
Jeff Swenson

ULTIMATE Seo Urls 5

Recommended Posts

having issues with getting all my links to rewrite.

could i get some assistance?

 

i have it partially working on my main live site, but the catagories are not rewriting: https://www.irepairworks.com/products.php?cPath=25_29

 

products are working : https://www.irepairworks.com/iphone-3gs-diagnostic-service-p-94.html

 

here is following .httaccess:

 

 

--------------------------------------------------

 

Options +FollowSymLinks

 

<IfModule mod_rewrite.c>

 

 

 

RewriteEngine on

 

 

 

RewriteCond %{HTTP_HOST} ^irepairworks\.com [NC]

 

RewriteRule ^(.*)$ http://www.irepairworks.com/$1 [R=301,L]

 

 

 

RewriteCond %{HTTPS} off

 

RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]

 

 

 

 

 

# RewriteBase instructions

 

# Change RewriteBase dependent on how your shop is accessed as below.

 

# http://www.mysite.com = RewriteBase /

 

# http://www.mysite.com/catalog/ = RewriteBase /catalog/

 

# http://www.mysite.com/catalog/shop/ = RewriteBase /catalog/shop/

 

 

 

# Change RewriteBase using the instructions above

 

RewriteBase /

 

RewriteRule ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php [NC,L,QSA]

 

RewriteRule ^iPhone-3g-Repair\.html$ /products.php?cPath=25_28 [L]

RewriteRule ^([a-z0-9/-]+)-c-([0-9_]+).html$ index.php [NC,L,QSA]

 

RewriteRule ^([a-z0-9/-]+)-m-([0-9]+).html$ index.php [NC,L,QSA]

 

RewriteRule ^([a-z0-9/-]+)-pi-([0-9]+).html$ popup_image.php [NC,L,QSA]

 

RewriteRule ^([a-z0-9/-]+)-pr-([0-9]+).html$ product_reviews.php [NC,L,QSA]

 

RewriteRule ^([a-z0-9/-]+)-pri-([0-9]+).html$ product_reviews_info.php [NC,L,QSA]

 

# Articles contribution

 

RewriteRule ^([a-z0-9/-]+)-t-([0-9_]+).html$ articles.php [NC,L,QSA]

 

RewriteRule ^([a-z0-9/-]+)-au-([0-9]+).html$ articles.php [NC,L,QSA]

 

RewriteRule ^([a-z0-9/-]+)-a-([0-9]+).html$ article_info.php [NC,L,QSA]

 

# Information pages

 

RewriteRule ^([a-z0-9/-]+)-i-([0-9]+).html$ information.php [NC,L,QSA]

 

# Links contribution

 

RewriteRule ^([a-z0-9/-]+)-links-([0-9_]+).html$ links.php [NC,L,QSA]

 

# Newsdesk contribution

 

RewriteRule ^([a-z0-9/-]+)-n-([0-9]+).html$ newsdesk_info.php [NC,L,QSA]

 

RewriteRule ^([a-z0-9/-]+)-nc-([0-9]+).html$ newsdesk_index.php [NC,L,QSA]

 

RewriteRule ^([a-z0-9/-]+)-nri-([0-9]+).html$ newsdesk_reviews_info.php [NC,L,QSA]

 

RewriteRule ^([a-z0-9/-]+)-nra-([0-9]+).html$ newsdesk_reviews_article.php [NC,L,QSA]

 

</IfModule>

 

 

 

in my /beta, i click a category, then click a product, its wroking, but the pages will not load

https://www.irepairworks.com/beta/products.php?cPath=25_28 works

 

https://www.irepairworks.com/beta/iphone-3g-diagnostic-service-p-93.html errors:

This webpage has a redirect loop

 

i tried to clear all cookies too.

 

 

here is my beta folder htaccess file

 

 

Options +FollowSymLinks

 

<IfModule mod_rewrite.c>

 

 

 

RewriteEngine on

 

 

 

RewriteCond %{HTTP_HOST} ^irepairworks\.com [NC]

 

RewriteRule ^(.*)$ http://www.irepairworks.com/$1 [R=301,L]

 

 

 

RewriteCond %{HTTPS} off

 

RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]

 

 

 

 

 

# RewriteBase instructions

 

# Change RewriteBase dependent on how your shop is accessed as below.

 

# http://www.mysite.com = RewriteBase /

 

# http://www.mysite.com/catalog/ = RewriteBase /catalog/

 

# http://www.mysite.com/catalog/shop/ = RewriteBase /catalog/shop/

 

 

 

# Change RewriteBase using the instructions above

 

RewriteBase /beta/

 

RewriteRule ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php [NC,L,QSA]

 

 

 

RewriteRule ^iPhone-3g-Repair\.html$ /products.php?cPath=25_28 [NC,L,QSA]

 

RewriteRule ^([a-z0-9/-]+)-c-([0-9_]+).html$ products.php [NC,L,QSA]

# RewriteRule ^([a-z0-9/-]+)-c-([0-9_]+).html$ index.php [NC,L,QSA]

 

RewriteRule ^([a-z0-9/-]+)-m-([0-9]+).html$ index.php [NC,L,QSA]

 

RewriteRule ^([a-z0-9/-]+)-pi-([0-9]+).html$ popup_image.php [NC,L,QSA]

 

RewriteRule ^([a-z0-9/-]+)-pr-([0-9]+).html$ product_reviews.php [NC,L,QSA]

 

RewriteRule ^([a-z0-9/-]+)-pri-([0-9]+).html$ product_reviews_info.php [NC,L,QSA]

 

# Articles contribution

 

RewriteRule ^([a-z0-9/-]+)-t-([0-9_]+).html$ articles.php [NC,L,QSA]

 

RewriteRule ^([a-z0-9/-]+)-au-([0-9]+).html$ articles.php [NC,L,QSA]

 

RewriteRule ^([a-z0-9/-]+)-a-([0-9]+).html$ article_info.php [NC,L,QSA]

 

# Information pages

 

RewriteRule ^([a-z0-9/-]+)-i-([0-9]+).html$ information.php [NC,L,QSA]

 

# Links contribution

 

RewriteRule ^([a-z0-9/-]+)-links-([0-9_]+).html$ links.php [NC,L,QSA]

 

# Newsdesk contribution

 

RewriteRule ^([a-z0-9/-]+)-n-([0-9]+).html$ newsdesk_info.php [NC,L,QSA]

 

RewriteRule ^([a-z0-9/-]+)-nc-([0-9]+).html$ newsdesk_index.php [NC,L,QSA]

 

RewriteRule ^([a-z0-9/-]+)-nri-([0-9]+).html$ newsdesk_reviews_info.php [NC,L,QSA]

 

RewriteRule ^([a-z0-9/-]+)-nra-([0-9]+).html$ newsdesk_reviews_article.php [NC,L,QSA]

 

</IfModule>

Share this post


Link to post
Share on other sites

Ask in the support tread for the add-on, that is where you are most likly to recive any help.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×