My Capanel redirects are randomly working. There seems to be 1 that works (/custom) and the rest do not. Here they are as they are in my .htaccess file:
RewriteOptions inherit
RewriteEngine on
RewriteCond %{HTTP_HOST} ^fuelcellsetc\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.fuelcellsetc\.com$
RewriteRule ^Store$ "https\:\/\/fuelcellsetc\.com\/store\/" [R=301,L]
RewriteCond %{HTTP_HOST} ^fuelcellsetc\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.fuelcellsetc\.com$
RewriteRule ^custom$ "http\:\/\/fuelcellsetc\.com\/store\/Membrane\-Electrode\-Assembly\/Custom\-MEAs\-and\-CCMS\/Customized\-MEA" [R=301,L]
RewriteCond %{HTTP_HOST} ^fuelcellsetc\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.fuelcellsetc\.com$
RewriteRule ^store\/MEA\/EZ$ "http\:\/\/fuelcellsetc\.com\/store\/Membrane\-Electrode\-Assembly\/Electrolyzer\/Electrolyzer\-CCM" [R=301,L]
I would appreciate any help I can get! Thanks in advance!
It may be due to the fact that OC has its own .htaccess file, and when cPanel tries to do a redirect it conflicts with this.
I also had this problem with redirects through my control panel (not cPanel). I ended up just doing them manually.
I also had this problem with redirects through my control panel (not cPanel). I ended up just doing them manually.
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
Thanks philbydevil!
Ahhhhh... well oddly enough i tried doing them in the OpenCart .htaccess file and they still worked a bit randomly...hmmm
Any suggestions or ideas on using the following format for 301 redirects:
Is there any easier way to do it? Also, where should I be placing them?
Ahhhhh... well oddly enough i tried doing them in the OpenCart .htaccess file and they still worked a bit randomly...hmmm
Any suggestions or ideas on using the following format for 301 redirects:
Code: Select all
RewriteCond %{HTTP_HOST} ^fuelcellsetc\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.fuelcellsetc\.com$
RewriteRule ^store\/MEA\/EZ$ "http\:\/\/fuelcellsetc\.com\/store\/Membrane\-Electrode\-Assembly\/Electrolyzer\/Electrolyzer\-CCM" [R=301,L]
I don't really understand that redirect (which isn't to say that it won't work).
This is how I do my 301 redirects in the root .htaccess:
Note the trailing ?
Or sometimes they don't have the ?:
This is how I do my 301 redirects in the root .htaccess:
Code: Select all
redirect 301 /old-page http://www.yourstore.com/new-page?
Or sometimes they don't have the ?:
Code: Select all
redirect 301 /old-sitemap http://www.yourstore.com.au/index.php?route=information/sitemap
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
Who is online
Users browsing this forum: No registered users and 39 guests