Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 SEO friendly URL redirect
Previous Page
Author « Topic »
Page: of 2

martinOV
Advanced Member

United Kingdom
427 Posts

Pre-sales questions only
(More Details...)

Posted - 08/08/2018 :  11:27:55  

The following have no effect at all:-

RewriteCond %{QUERY_STRING} ^prod=Barbell-with-Jewelled-Ball$
RewriteRule ^proddetail\.php$ https://extreme-body-jewellery.co.uk/Barbell-with-one-Jewelled-Ball? [R=301,L]

RewriteCond %{QUERY_STRING} ^prod=Barbell\-with\-Jewelled\-Ball$
RewriteRule ^proddetail\.php$ https://extreme-body-jewellery.co.uk/Barbell-with-one-Jewelled-Ball? [R=301,L]

RewriteCond %{QUERY_STRING} ^prod=Titanium_Curved_Barbell_with_cones_1.6mm$
RewriteRule ^proddetail\.php$ https://extreme-body-jewellery.co.uk/Titanium-Curved-Barbell-High-Polish-with-cones-1.6mm? [R=301,L]

RewriteCond %{QUERY_STRING} ^prod=Titanium_Curved_Barbell_with_cones_1\.6mm$
RewriteRule ^proddetail\.php$ https://extreme-body-jewellery.co.uk/Titanium-Curved-Barbell-High-Polish-with-cones-1.6mm? [R=301,L]

RewriteCond %{QUERY_STRING} ^prod=Titanium_Curved_Barbell_with_cones_1.6mm$
RewriteRule ^proddetail\.php$ /Titanium-Curved-Barbell-High-Polish-with-cones-1.6mm? [R=301,L]

RewriteCond %{QUERY_STRING} ^prod=CircularBarbell_CB\-9$
RewriteRule ^proddetail\.php$ https://extreme-body-jewellery.co.uk/Circular-Barbell-9mm-00ga? [R=301,L]



The following cause "internal server error"

RewriteCond %{QUERY_STRING} ^prod=Titanium_Curved_Barbell_with_cones_\1.6mm$
RewriteRule ^proddetail\.php$ https://extreme-body-jewellery.co.uk/Titanium-Curved-Barbell-High-Polish-with-cones-1.6mm? [R=301,L]



The following do work without a problem:-

RewriteCond %{QUERY_STRING} ^prod=Ball_Closure_Ring_12mm$
RewriteRule ^proddetail\.php$ https://extreme-body-jewellery.co.uk/Ball-Closure-Ring-12mm? [R=301,L]

RewriteCond %{QUERY_STRING} ^prod=Septum_Spike_Curved__4mmx38mm_spikes$
RewriteRule ^proddetail\.php$ https://extreme-body-jewellery.co.uk/Septum-Spike-Curved-4mmx38mm-spikes? [R=301,L]

RewriteCond %{QUERY_STRING} ^prod=Silver_belly_Bar_with_3_stones_SJB158$
RewriteRule ^proddetail\.php$ https://extreme-body-jewellery.co.uk/Silver-Belly-Bar-with-3-stones-? [R=301,L


so it seems the problems occur when either "." or "-" (the space filler character) are present. Using backslash "\" before "." or "-" has no effect. Using backslash before a number causes a server error

Martin

Vince
Administrator

42853 Posts

Posted - 08/09/2018 :  01:07:25  
Hi Martin
At times there are bugs to do with mod rewrite. Have you tried reporting it to your host? Maybe there is an update available?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
Page: of 2 « Topic »  
Previous Page
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.01 seconds. Snitz Forums 2000