The most common name of the per-directory settings file for the Apache server. WordPress stores the mod_rewrite configuration for "Pretty Permalinks" here. [url-rewriting] should be used for the WordPress rewrite system in general, [mod-rewrite] when you talk specifically about the Apache module.

learn more… | top users | synonyms (1)

0
votes
0answers
70 views

Content-type return text/plain instead of text/html after login as admin

I have a website at http://blog.rhinoera.com/. Hosted at Webfaction, which uses nginx as reverse proxy to serve php. Everytime I login as administrator, the http header that webserver returns ...
0
votes
1answer
45 views

3 domains, 1 wordpress install, redirecting and changing domains on live site

UPDATED & SIMPLIFIED: I have one Wordpress install at Host #1 with a domain (Domain-A) at Host #2. Domain-A was used for the WP install. I have Domain-B & Domain-C at Host #3. I need ...
0
votes
1answer
147 views

what could cause the htaccess file to be modified?

One of the wordpress sites that I created recently went down with a 500 internal server error. After hours of mind boggling and checking error logs, I found out that the htaccess files present in the ...
0
votes
1answer
117 views

forward domain name to particular page?

I;ve got a doman alias setup for one of my Wordpress sites and i'm trying to forward that particular domain to a page. The 2 domains are - www.alias.com www.actual.com When people use the ...
0
votes
0answers
265 views

categories to subdomains using .htaccess without plugin

I need to do the following thing Mapping this subdomain live. mywebsite.com/something to mywebsite .com/live/something for examples : www. live.mywebsite.com/ ==> www. mywebsite.com/live/ http:// ...
0
votes
0answers
65 views

Can exclude posts preview [ ?preview] query string on .htaccess RewriteCond?

I have added the query string on .Htaccess. Now my utm_source type quires are automatically redirected to the original URL. But when I preview the posts (when I editing old posts), I can't see the ...
0
votes
1answer
166 views

.htaccess redirect not properly working [ ?utm_source=]

I have a wordperss blog. This blog has two domain names (example1.com and example2.com). In my situation, example1.com redirected to the example2.com. This redirecting work properly. I saw that ...
0
votes
0answers
31 views

How do I append a RewriteCond to add_rewrite_rule?

I need to easily add a rule in my plugin that has a condition check (to prevent an infinite loop). I will use: RewriteCond %{QUERY_STRING} !getparameter to prevent the redirect when our url has the ...
0
votes
0answers
88 views

Redirect registration=disabled page

I need users who land on this page... http://subdomain.example.com/temp/wp-login.php?registration=disabled To be redirected to http://subdomain.example.com/temp/register I am using multi-site so I ...
1
vote
1answer
53 views

WordPress .htaccess to consider blog as directory

I redesigned an old (static) website to WordPress CMS. Now that site is WordPress based with 'blog' as a page displaying all posts. On previous (static) version, they already had a separate WP blog ...
1
vote
1answer
225 views

Using wp_redirect and .htaccess to re-route searches (and pass along the remaining GET vars)

I'm trying to use wp_redirect() to redirect searches to a format that I have established in .htaccess. Unfortunately, I'm running into some problems doing this. I need to redirect search to a series ...
0
votes
1answer
92 views

Prevent Wordpress from automatically correcting URLs

I notice that if I type in http://www.example.com/pag I can land on an existing page that has a name like http://www.example.com/page_five. I don't know exactly what causes this, but I want to know if ...
0
votes
0answers
80 views

Adding in Custom Directory/Path in URL Without Effecting Permalinks

After several tries of piecing together different forms of add_rewrite_rule() and .htaccess edits, I have not been able to find a solution that works. I want to add in a custom directory to a ...
0
votes
0answers
118 views

Add-on domain works in Wordpress but links still lead to subdomain

I know this looks like a common question, and I assure you I've tried a bunch of responses, but none seem to work in my case. I'm a Wordpress noob so I might be making some basic error which I can't ...
0
votes
0answers
241 views

Restrict download files from not generated Urls

I use a plugin in WPMU that encrypt all downloads urls in wp-content/uploads/ : The downloads can still be accessed if users know the path to the file: e.g. ...
1
vote
1answer
37 views

3 blogs same installation, without WP MU

I've to create 3 blogs (different DOMAINS) on the same wordpress installation (I cannot use WP MU, unfortunately) so I came out with the idea that I could use categories, instead, so... every blog has ...
0
votes
0answers
98 views

Trouble with pretty permailnks buddypress .htaccess custom posttypes

I have a buddypress/bbpress website that also has multiple additional custom post types. After adding each new custom post type I would update permalink settings to correct the 404 not found occuring ...
0
votes
0answers
83 views

Registration Fail Redirect Problem

We use two registration links allowing users to register for different roles: /wp-login.php?action=register&utype=subscriber /wp-login.php?action=register&utype=contributer The subscriber ...
0
votes
0answers
2k views

Why 'Authorization Required' is coming on wordpress login

When i try to login to my WordPress blog admin why this pop up error come .. "Authorization Required" http://stpatrickscollege.edu.pk/wp-login.php
0
votes
1answer
253 views

What is the proper way to use add_rewrite_rule to remove the (question mark)?

I have a page called "People" with a custom template that takes in a variable called name: example.com/people/?name=FirstLast What I want is this: example.com/people/FristLast I know I need to use ...
0
votes
0answers
52 views

Corrupt htaccess after bulk changes

For some reason when I make bulk changes - such as mass edit tags or mass delete posts - my htaccess file becomes corrupt (lines of text disappear) leading to a 500 internal server error. I have a ...
-1
votes
1answer
52 views

Can I redirect the http request towards an old folder to the homepage using .htaccess file? [closed]

I am in the following situation: I had an old blog that was made using Joomla (this blog was indexed well enough by search engines). Due to some problems I deleted it and moved the site over to ...
1
vote
0answers
139 views

How to rewrite a URL to another rewritten URL without changing the address?

Just got to the end of a site build and the client is now saying the original site URL's need to stay the same and do not want to do 301 redirects due to loss of link juice. The structure of the site ...
0
votes
1answer
85 views

Issue after changing permalink structure [duplicate]

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
0answers
10 views

Wordpress duplicate content with wp_link_pages [duplicate]

Currently I am using wp_link_pages in my single.php post template using <!--nextpage--> to split a post into multiple pages, but i have a serious problem with google webmaster and duplicate ...
0
votes
1answer
251 views

How to rename index.php to home.php

I rename index.php to home.php and put a flash in index.php. In the flash I make an effect and after it played 5 minutes it redirects to home.php. I put this code: <IfModule mod_rewrite.c> ...
1
vote
1answer
219 views

Serve apache 404 for missing assets rather then wp 404 template WP_Rewrites

I have a custom 404 page, but dont want serve it for every broken asset that may crop up. Instead I want to just serve the Apache 404 as its much faster. I've found the following htaccess rule that ...
-1
votes
1answer
25 views

Url redirection using htacess for my website

my website has some development issues i really need some help When someone types www.mysite.com/mysite.com/mysite.com/anypagename.php a page opens up which shows data of the original page but ...
0
votes
1answer
413 views

Prevent users from accessing mp3s in my uploads folder?

I have mp3 players set up to play mp3s on my site. The mp3s are all being uploaded to the uploads folder. I don't want people accessing these directly, meaning I don't want people to be able to ...
0
votes
1answer
83 views

Rewrite vs Redirect from ?p={ID}

WordPress does a 301 from http://example.com/?p=100 to http://example.com/post-title/, but I thought a URL rewrite was different from a redirect and therefore this wouldn't result in a 301. Can ...
2
votes
2answers
599 views

multisite htaccess 301 redirects

I've got a multisite sub-domain install with 3 sites on it. 2 of the sites use domain mapping. The main site (id=1) requires several 301's that are old pages from a previous structure such as: ...
0
votes
1answer
159 views

Where to put W3 Total Cache rewrite rules in .htaccess?

Should I put them in the following order or the order doesn't matter at all? # BEGIN W3TC Browser Cache # END W3TC Browser Cache # BEGIN W3TC Page Cache core # END W3TC Page Cache core # WordPress ...
0
votes
1answer
93 views

redirect old pages by .htaccess

i want to redirect pages from sitename/sitename/pagename.html and sitemap/sitename/ to sitemap/sitename/pagename how i can do that by using .haccess file i tried this code ...
1
vote
1answer
265 views

W3 Total Cache CSS & JS files GZip issues

Having checked my site with google page speed and gzipwtf.com I have noticed that my css and js files are not getting compressed (although html is). Have tried unchecking " Prevent caching of objects ...
0
votes
1answer
740 views

custom permlink .htaccess file 404 Not Found error

i read alot of atricles taking about this but i could fix my problem yet .. i want to make the permlink custom /%category%/%postname% and i searched for the .htaccess in the wordpress files and ...
0
votes
1answer
131 views

Wrong page displays as home page

My website www.makowerarchitects.com loads up 'something' (for lack of a better word), whereas the correct Home page that needs to show upon visiting the site shows under ...
1
vote
0answers
166 views

Help with multisite redirect issues using Cherokee OR solid nginx config?

A little background: We've decided to abandon Apache because it can't keep up with the demand we're putting on it. We have a cron script that will create a new post about once every 3 or 4 seconds ...
0
votes
1answer
159 views

ow to change cutsom page url of wordpress site using htaccess

i need help in httaccess rewrite of a wordpress site. i have url like below http://thewhiterabbit.dk/beta/steder-detail/?id=floos i want it to be like ...
2
votes
1answer
1k views

Passing parameters to a custom page template using clean urls

I am now passing parameters to a custom template in the following format www.example.com/?pageid=12&rid=24&title=this-is-the-title I have created two tables . So I need to fetch data and ...
1
vote
0answers
83 views

An other permalink problem - 404 Error

I know there are already a lots of post about this question, but not a single one helped me to solve this issue. I moved my page to an other server and afterwards I was facing the problem that the ...
1
vote
1answer
180 views

WP Super Cache unable to locate cache file for only the homepage

I have WP Super Cache working perfectly on all pages of my blog except for the homepage. I'm using the PHP caching method (mod-rewrite is not compatible with my specific configuration with suPHP). ...
0
votes
2answers
57 views

Remove .htaccess portion upon plugin deactivation?

I have a plugin that inserts some rewrite rule in the .htaccess file. However, upon deactivating it, doesn't remove said rule. The rule is nested in # BEGIN My plugin and # END My plugin. I want to ...
0
votes
1answer
101 views

Permalinks in Multisite not working

I'm using a subdomain multisite and I receive a 404 when trying to visit posts. The main domain works, but the permalinks aren't working. When I use the default permalinks, they work, but when I use ...
2
votes
2answers
1k views

How do I edit the htaccess file to optimize my website?

Hi I have tried to optimize my website energyshop.se for a cpl of days but I cant seem to get it done. This is how my .htaccess looks like: Header unset ETag FileETag None # Hantera och redirecta ...
1
vote
1answer
479 views

mod_rewrite loop, redirecting http to https on certain section of wordpress blog

I'm trying to rewrite 3 sections of a wordpress site to https if they are accessed over http: /cart/ /my-account/ /checkout/ As well as these rewrite's worpress has added a rewrite to remove ...
0
votes
2answers
429 views

How to execute WordPress as though it is in the root folder while it is installed in a subdirectory?

I have a folder and file structure already in place for a site to which I am inserting WordPress. My goal is to execute WP at the root level (/) when a visitor just visits the domain without a path, ...
0
votes
1answer
100 views

Use .htaccess to redirect homepage to its permalink

How can I get WordPress to preserve my permalink that I have set for the homepage? I would like the homepage's URL to be www.example.com/homepage-title, not www.example.com. Its permalink is already ...
1
vote
1answer
456 views

Wordpress multisite htaccess

I set up Wordpress as a multisite and as part of the steps, it gave some instruction to update and replace the .htaccess file. Wordpress instructed me to replace the htaccess with this: ...
0
votes
2answers
106 views

subdirectory install breaking existing links

I've had this issue several times now. While building a site, including some content, I keep wordpress in a subdirectory (say, /wordpress/). When putting it live, I move/copy 3 files out of the dir ...
0
votes
3answers
258 views

Can't Access Subdirectory

I've moved my blog from http://leghumped.com/blog to http://leghumped.com/ and now I can't access my /images directory. I've tried every combination of rules from trawling for people with the same ...