Page 1 of 1

changes to .htaccess are not showing up in the web site

Posted: Sun Mar 30, 2008 12:58 pm
by Peter
I installed the program without any problems. I can add code to the .htaccess file to redirect to http://www.mysite.com and it works but when I add a section to include another page it does not change the .php extension to .html. I even tried to change the contact_us url and that did not work either. This is what I added to the .htaccess file

Code: Select all

#about_us.php - about_us
RewriteCond %{QUERY_STRING} ^currency=([a-zA-Z]{3})&osCsid=([a-z0-9]*) [OR]
RewriteCond %{QUERY_STRING} ^currency=([a-zA-Z]{3}) [OR]
RewriteCond %{QUERY_STRING} ^osCsid=([a-z0-9]*) [OR]
RewriteCond %{QUERY_STRING} ^
RewriteRule ^about-us.html$ about_us.php [L,QSA]


The permissions for .htaccess are 644 so they are not being written over, the code is not there. I have been using notepad to edit the .htaccess file.

NOTE: on line 2 in the code above that is a ampersand sign before osCsid, it is just showing up differently here.

Re: changes to .htaccess are not showing up in the web site

Posted: Sun Mar 30, 2008 1:22 pm
by inveo
Rewrite Rules in .htaccess file only handle executed URIs. Manually added link must be replaced directly in HTML source to reflect changes also on the page.

Cart  
(empty)

Cart Check out  »

Prices are tax inclusive.

The VAT rate for your country (US) * is 0,0 % because it is not a member of the European Union (EU).

* Please create an account if your country does not match.

Community feed
  • [Zen Cart] Can't execute Magic SEO URLs sitemaps
    I installed Magic SEO URLs Sitemaps Add-On for ZenCart MSU4.x/MSU5.x 2.0 on my server, when I try to generate sitemaps using: https://www.pechesudv155.owally.com/sitemaps.php I received :...
    by peter@pechesud.com
  • [phpBB3] Sharing users between phpBB / PrestaShop
    Hi i have 2 question 1- prestashop module support phpBB 3.3 ? 2- why we can not login in prestashop and phpbb with same user?
    by zohall
  • [phpBB3] AJAX Userinfo Extension
    Hi! I'm having trouble with this extension: https://www.phpbb.com/customise/db/exte ... _userinfo/ I tried asking support from the author but for no avail, since now. My request for support...
    by Lord Phobos
  • [phpBB3] Upgrade to phpBB 3.2.3
    Hello.. after Upgrade to phpBB 3.2.3 I am getting this message.. How can I solve this issue..? Thank you
    by ingbrzy
  • [phpBB3] URL path changed
    Hello.. I have changed my site path after moving to new hosting and now can not activate SEO module.. new path http://www.miuios.cz/domains/miuios.cz/ could you help me? thank you
    by ingbrzy2
Join our support forum » Pre-Sales Questions »
Featured Testimonials

I have checked our website and it works faster than before, thank you very much!

Jorge, the owner of TN-TOOLS

The Inveo team provided the best service and support that we have received from any vendors we have ever used. They did work that was far beyond the scope of the purchase, and for this we are grateful and can certainly highly recommend them to anyone else.

Allen, the owner of Zele Private Investigator Philippines

More Testimonials »