Directory-level configuration file used by Apache web servers.

learn more… | top users | synonyms (1)

0
votes
2answers
22 views

url rewriting with htacess not working

I have a static website upon which I have performed CMS but when I added .htaccess file for url rewriting its not working. eg. www.example.in/new/index.php to www.example.in/new/index. there are ...
0
votes
0answers
14 views

Dynamic whitelist with htaccess allowing a form to add an IP to the whitelist?

Working on a dev site for a client, we want to deny all access from it, but allow easy whitelisting when out of office for meetings or working from home (dynamic ip). What we want to happen, is have ...
1
vote
1answer
8 views

Redirect URL with parameters to other domain with same parameters

I want to redirect permanent from something like this http://www.example.de/page.html?cid=00340119050014953926&pc=70000 to this http://www.secondexample.com/?cid=00340119050014953926&pc=70000 ...
0
votes
2answers
21 views

RewriteRule creating 500 Internal Server Error

I have the following in my .htaccess file: Options +FollowSymLinks RewriteEngine on RewriteRule ^directory/(.*)$ directory/index.php?id=$1 What I'm trying to achieve is this: When the URL ...
0
votes
3answers
9 views

How to avoid a looping redirection from .htaccess?

I've set a .htaccess with a set of rules. RewriteEngine on RewriteCond $1 !^(index\.php|images|stylesheets|javascript|robots\.txt) RewriteRule ^Canvas/(.*)/(.*)$ /canvas.php?a=$1&b=$2 [L] ...
0
votes
0answers
8 views

defining .htaccess to serve backend/frontend

I thought this would be easy, but I can't for the life of me get this to work. My app is running on a shared host (using Apache). The app structure currently looks like this: / app backend // ...
0
votes
0answers
7 views

If modified since with (replace www) modrewrite-rule

i only use the my domain http://myDomain.com and not http://www.myDomain.com, so i use this rule RewriteCond %{HTTP_HOST} ^www\.(.*)$ RewriteRule ^(.*)$ http://%1/$1 [L,R=301] my problem is, that i ...
0
votes
0answers
13 views

Adding content to a url/link

I'm trying to do some seo for the company website. We have tons of products so I find it easiest to use htaccess. Currently I've made it look decent www.mysite.com/id/$number/ which is how we want ...
0
votes
0answers
11 views

Htaccess rewrite rule for string and substring

I have written the htaccess for my application which is working fine for all. i.e., Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^/* ...
0
votes
3answers
24 views

Error in url rewrite if i remove .html from url

I am having some issues with url rewriting I am using this as my code for rewrite in htaccess RewriteEngine On RewriteRule ^([^/]*)\.html$ /pages.php?id=$1 [L] this was my url ...
0
votes
1answer
25 views

.htaccess want 410 gone but getting 403 forbidden

I want to deliver the 410 "Gone" header for all requests including root. I have added this .htaccess file... RewriteEngine on RewriteCond %{HTTP_HOST} . RewriteRule (.*) - [G,L] Which works for ...
0
votes
1answer
13 views

HTACCESS Rewrite Rule .*

What does this Line do? RewriteRule .* http://www.test.de [L,R=301]
0
votes
0answers
39 views

I want to make a url seo friendly

I need your help in making url much user friends.. currently the url is like this http://missionbjp.com/currentaffair.php?id=108 but i made some changes to the code and saving the tile in the url ...
0
votes
1answer
11 views

Wordpress compilation of a “complete” .htaccess file

I was cleaning up some stuff and making some files generic so I can take them of the shelve when I need them. But I have a .htaccess questions. Question #1 At the start of the file I have: # BEGIN ...
1
vote
1answer
19 views

htaccess not working on godaddy

I recently moved to godaddy and the .htaccess doesn't seem to work. Are there any settings which need to be done for godaddy because the .htaccess was working on previous hosting. I have tried to use ...

1 2 3 4 5 1331
15 30 50 per page