Search the Community
Showing results for tags 'htaccess'.
-
Hello, I bought the new book version 2.0. I am now using the ex2 software testing. But the menus do not appear via htaccess. My htaccess is: <IfModule mod_rewrite.c> Options-MultiViews RewriteEngine on # For the primary categories: RewriteRule ^ shop / (coffee | goodies)? / Shop.php $ type = $ 1? # For sales: RewriteRule ^ shop / sales /? $ / Sales.php # For specific products: RewriteRule ^ browse / (coffee | goodies) / ([A-Za-z \ + \ -] +) / ([0-9] +) / $ browse.php type = $ 1 & category = $ 2 & id = $ 3? [edit] Yes Fixed. I have to change the menu in header h
-
I have my own website that I am trying to install clean search engine friendly urls on. I am doing this for the article page section of my site. I have it working except for a glitch. I am comparing my setup with that of this website and others which use htaccess clean urls. So basically I have my url which is like the following. http://stackoverflow.com/questions/9183130/php-htaccess-apply-page-title-in-url it works when I click on it and everything is fine. but if I take a part of the url like so: http://stackoverflow.com/questions/9183130/php-htaccess-apply-pag and refresh i
-
My htaccess file works except the Redirects. They used to work. sickle cell anemia is the one I added yesterday and it doesn't work. back pain and heartburn used to work but now they don't. sleep disorders and hemophilia are also in my cpanel Redirect and they work from there and are not really needed here. But I don't want to do it through cpanel and I shouldn't have to. Can you find what is wrong with my code? Here is my entire htaccess file: ErrorDocument 404 /404.shtml ErrorDocument 400 /400.shtml ErrorDocument 401 /401.shtml ErrorDocument 403 /403.shtml ErrorDocument 500 /500.shtml
-
hi.. everyone.. I need to rewrite this URL http://localhost/lanka_institute/profiles/tutors/index.php?tutorCode=1255&tutorName=Kasun%20Perera&city=Bandarawela like this http://www.mydomain.com/profiles/tutors/1255/Kasun+Perera.html I tried this with Apache’s mod_rewrite feature. But I couldn't reach to my expecting result. Here is Code that I have tried. <IfModule mod_rewrite.c> RewriteEngine on # For specific teachers: RewriteRule ^localhost/lanka_institute/profiles/tutors/([0-9]+)/([A-Za-z\+\-]+)/([A-Za-z\+\-]+)/$ index.php?tutorCode=$1&a
-
Hello everyone, My boss has two websites -- one of which they wanted me to clone to replace the other. They are on two different servers. They had me transfer the website files, reconfigure to a new database on a new server, and then make cosmetic changes. However, I am finding that none of the links on the clone (apart from the home page) actually work. For instance, if you click "What's New" this should link to the Who We Are page. The URL it links to is: /who-we-are (without any php extension). There is a .php file on public_html that is titled "who-we-are.php." The absence