mod_rewrite is a URL rewriting module for the Apache web server. It is commonly used for so-called "pretty" URLs because of its ability to redirect on the server side (transparent to clients and their browsers), but also provides the power and flexibility to perform various request handling tasks ...
0
votes
0answers
12 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$ ...
2
votes
1answer
36 views
RewriteRule for URLs with spaces
My site's pages are in multiple languages whereby each language version shares its media (images) with the other language versions. I place all versions and the media in a single directory with the ...
1
vote
1answer
21 views
Redirecting previous domain subfolder links
I've recently bought a domain that was unregistered. After looking in Google webmaster tools, Google is trying to crawl random pages that don't exist. Turns out it did have a previous owner.
The ...
1
vote
0answers
32 views
Mapping different users to folders with mod_rewrite
I'm setting up a DAV server with Apache 2.2 and would like, if at all possible, to be able to redirect a user to their own folder without having per-user URLs, if at all possible.
So I point a user ...
0
votes
1answer
44 views
Rewritten URLs stopped getting indexed a month ago
I'm working on a website for someone which sells their products on their web site. There is an item.php page which displays the item for sale. I switched all item pages/inks from dynamic URLs to ...
1
vote
1answer
43 views
.htaccess redirect with mod_rewrite
I moved my wiki from
http://jklatex.square7.de/wiki/doku.php/start
to
http://logicpuzzle.square7.de/start
and now i want to redirect the URL with mod_rewrite. My .htaccess is as follows:
# BEGIN ...
0
votes
2answers
38 views
Issue with Apache redirection [duplicate]
I want to redirect mysite.com or http://mysite.com or www.mysite.com or any other format given my user to http://www.mysite.com, I'm able to achieve this by rewriting following lines in my .htaccess ...
0
votes
0answers
27 views
URL rewrite with mod_rewrite
I have rewrite rule in parent directory which rewrites URL:
From example.com/index.php?id=test&cat=category
To example.com/index?test&cat=category
Here is my .htaccess file:
Options ...
0
votes
1answer
36 views
Capitals in URL subdirectory not changed by htaccess
Within my WordPress website I am redirecting sub directories to internal and external links. Now, when you place a CAPITAL letter in the sub dir it does not work anymore and the website does not show ...
2
votes
2answers
26 views
Need to remove www for only one sub directory from a domain
I have a domain like www.example.com. I need to remove www. from specified sub folder by using a .htaccess file.
Example :
www.example.com/blog should redirect to example.com
All other sub ...
3
votes
3answers
83 views
SEO Joomla URL to WordPress URL's
I am trying to migrate from Joomla 1.5 SEF URL's to WordPress SEF URL's.
The old links use this formatting: /site/sectionname/categoryname/id-titlename.html
I want to migrate it to ...
1
vote
1answer
59 views
Don't $_GET value on link rewrite with .htaccess
I config enable htaccess on my server (i enable mod_rewrite and do like this: http://stackoverflow.com/questions/11064005/enable-htacess-error-on-ubuntu-12-04-with-apache2)
But on localhost is run ...
3
votes
1answer
95 views
Remove dynamic generated end of URL
I have a Joomla 2.5 website with joomshopping and AceSEF extension component.
SEF URL generation works just fine except one issue.
For some reason, there are dynamic parts generated in the end of ...
0
votes
1answer
33 views
Redirection transparent to Google and other SE [duplicate]
I am not experienced technical person, and still learning but will try to explain what I have done so far and what my query is.
I have a (hypothetical) domain az-studios.com
On that domain I have 3 ...
1
vote
1answer
27 views
Trouble reading htaccess canonicalization
I just took over development of a site and am having trouble figuring out the canonicalization rewrite rules (not my forte). I've pasted the code below.
The first bit seems straight-forward enough, ...