Directory-level configuration file found mostly on Apache web servers
0
votes
0answers
15 views
optimize htaccess
I have two condition which are conflict
RewriteRule ^patients/findadoctor/(.*)\.html$ subcategorydoctor.php?id=$1 [L,NC] and
RewriteRule ^patients/findadoctor/(.*)\.html$ ...
1
vote
1answer
27 views
Can the .htaccess file slow down a website to a crawl? If so, are there better ways to solve these problems with different rewrite rules and such?
here is my htaccess file......
RewriteCond %{REQUEST_URI} ^/patients/billing/FAQ_billing\.html$ [OR]
RewriteCond %{REQUEST_URI} ^/patients/billing/getintouch\.html$
RewriteRule ...
1
vote
1answer
28 views
.htaccess and .htpasswd throwing 500 internal server error
I've created a .htaccess and a .htpasswd file, both using my hosting's tool, uploaded them, and I get an error when I try to view the directory. Why?
my .htaccess file:
AuthName "Restricted Area"
...
0
votes
0answers
20 views
New to URL Rewrite [duplicate]
I have absolutely no knowledge in this and have tried several attempts to turn
http://mcserverworld.net/library/site/register.php
into
http://mcserverworld.net/register
I am using a xampp ...
1
vote
0answers
26 views
Combine redirect to naked domain and point existing content to /blog
I think the .htaccess setup for this ought to be fairly straightforward, but I'm having a hard time with it for some reason. I've just completed the migration of a WordPress single site installation ...
1
vote
1answer
32 views
Canonical URL issue for www.takemyview.co.in
My shares and stock market analysis an advisory website has canonical URL problems. My web server is not able to resolve this issue for now using htaccess or any other means and all my SEO efforts are ...
2
votes
1answer
44 views
Redirect domains single pages and maintain url
I have several domain names that need to point to individual pages on a single host and still maintain the URL. For example:
examplesite1.com needs to point at mainsite.com/examplesite1.php but ...
3
votes
1answer
93 views
Can I allow access to a HTML page only if the user comes from a specific site with .htaccess?
A website with two HTML pages, A and B.
Both can be accessed by typing the URL, of course.
However, can I disallow any access to page B, and only allow it if the user is coming from page A? As in, a ...
1
vote
1answer
67 views
What are the most commonly used and basic Apache htaccess redirects?
This question is here so we can offer users who are looking for information on how to make one or more common or basic redirects in Apache using the htaccess file. All future questions pertaining to ...
0
votes
1answer
29 views
Rewrite rule for 403
I have a .htacces file
In this file when file or directory does not found it redirects to index.php.
My code is as below
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} !-f
...
1
vote
1answer
24 views
.htaccess keeps being deleted from my root directory
I have a site built on the ModX Evo CMS. I have noticed that almost every day the .htaccess file is deleted meaning the FURLs no longer work. I have scanned for viruses and found nothing. Does anyone ...
0
votes
1answer
22 views
Can I redirect the http request towards an old folder to the homepage using .htaccess file?
I have to following situation: I had an old blog that was made using Joomla (this blog was indexed well enough by search engines). For some problems I delete it and I have create it again using ...
0
votes
1answer
33 views
show index.htm and index.php BOTH
I have a static html based site.
Server automatically pulls the index.htm as the default page. Fine.
I just installed wordpress in the root:
But .com/index.php is redirecting automatically to ...
0
votes
0answers
7 views
Issue after changing permalink structure [migrated]
My old permalink structure is like this:
domain.com/POSTNAME/
My new permalink structure was switched to this:
domain.com/CATEGORY/POSTNAME/
I need to set up a 301 redirect in htaccess that ...
0
votes
3answers
51 views
301 redirect from “/index.html” to root if index.html not exist
Can I create 301 redirect from "index.html" to root directory if file "index.html" not exist?
For example: link "http://example.com/index.html" show "404 Error" page.
I need 301 redirect to root ...