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
1answer
103 views

Local wordpress install only shows home page, all other pages Not Found

I am working on a local install of a live wordpress site, all links from the main page show Not Found errors. all .htaccess files are all present. The problem is that every page except for the home ...
2
votes
5answers
2k views

WordPress permalinks Yahoo hosting(no .htaccess allowed)

I have moved a Wordpress install to a client from sub folder to the root folder. Right now, everything works fine, except for the friendly URLs. I currently have to set the Permalink feature in ...
0
votes
2answers
650 views

Custom post types archive redirect

I had a custom post type with slug as (sometext) which I changed to (someothertext) And it works great So for example : my posts with urls like http://localhost/sometext/innerposts gets ...
1
vote
4answers
196 views

How to run multiple websites from single WordPress setup

I want to create a website like visahq.com in WordPress, actually visahq.com has multiple websites like visahq.in for India, visahq.ru(will be shown in Russian) for Russia etc. and each TLD has ...
0
votes
1answer
62 views

How to Deny Access to No Referrer Requests on Multiste with Mapped domains

RewriteEngine On RewriteCond %{REQUEST_METHOD} POST RewriteCond %{REQUEST_URI} .wp-comments-post\.php* RewriteCond %{HTTP_REFERER} !.*yourdomain.com.* [OR] RewriteCond %{HTTP_USER_AGENT} ^$ ...
1
vote
2answers
73 views

Wordpress Rewrite

I'm trying to get http://example.com/site/vendors/?u=abc to rewrite to http://example.com/site/vendors/abc but I can't for the life of me figure out how to get the url rewrites to work. /site/ is the ...
0
votes
1answer
220 views

Permalinks not working

I know, asked and answered a million times. For the life of me I can't find my error. Trying to set up Permalinks to use post name, /%postname%/ Trying to visit anywhere else other than the homepage ...
0
votes
0answers
101 views

Stop wordpress to redirecting home page if no page found

I don't want to redirect to home page when there is no page or wrong url. I have following in httaccess file # BEGIN WordPress RewriteRule ^sitemap.xml sitemap-%{SERVER_NAME}.xml [L] RewriteRule ...
0
votes
0answers
53 views

404 errors in links to Wordpress sub directory

I have installed wordpress in a sub-directory /wordpress and built an entire website within. I am now pushing the site live and instead of updating all images and links after moving wordpress into ...
0
votes
1answer
58 views

Having WordPress control only certain pages with .htaccess?

Building a site that we want the home page controlled by it (main page will be the main blog page as well as the site home); it should also control a couple other pages such as the contact us page and ...
0
votes
0answers
58 views

'Error establishing a database connection' only after adding redirects

I'm adding some redirects from old URLs. I add them to .htacces and they work fine. Then after a couple of minutes I will get Error establishing a database connection after adding redirects The ...
1
vote
2answers
185 views

How to set up htaccess to redirect a particular post type or subdirectory to HTTPS?

I have a post type with the slug 'open-tour', so all its pages are under www.domain.com/open-tour/. I need all the pages under this "directory" to go to HTTPS (for credit card payments). I can ...
1
vote
1answer
174 views

Need help rebuilding lost htaccess file

I originally posted this on Stack Overflow (7 months ago). I didn't receive any answers and was not in a position to pursue it further. As of now I am working on resolving this, and would greatly ...
0
votes
1answer
68 views

Additional .htaccess rules based on wp page

I've created a page in the dashboard called Authors, created a new template-authors.php with completely own logic. It works well, going to website.com/authors/ I see a list of all authors, specifying ...
0
votes
3answers
179 views

Why I can download any file except PHP files from a URL but I can download any from another site?

all, I've been struggling with this for the past two days, I just can't find the answer - sorry if I post this in the wrong site but this is the best option I could think of. I have some problems ...
0
votes
0answers
71 views

Custom Page Template not working when site moved from subfolder

I have been testing and redesigning my site in a subfolder: http://theseattlevine.com/wordpress2013 Today I am launching the site and have followed these instructions ...
0
votes
0answers
152 views

Multisite Subdomain Redirect Mask

I've seen many questions and answers regarding this subject, yet I can't seem to get this to work. Here is my setup. I have my main domain: www.example.com On that domain, I've installed WP ...
0
votes
0answers
73 views

“regular” pages not found after changing permalink

My regular pages with the default theme can not be found, but my frontpage that is a page but it has an other theme works, even my custom post type pages work. In my permalinks settings I have ...
0
votes
0answers
102 views

Empty permalinks settings in .htaccess

Permalinks not working other than set to "Default'. I want to change it to /%postname%.html, and default .htaccess is as follows: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On ...
0
votes
1answer
35 views

How do you put your own rules into .htaccess?

Is it possible to put your own rules in .htaccess but still give WordPress control over 'it's bit'?
0
votes
0answers
38 views

incorrect path of plugin dir on network

I am using wordpress 3.5+ and I use it as network. I read that the plugins I upload are activated for all the sites on that network. So here is the issue. I uploaded a plugin say XYZ. It uploaded ...
0
votes
1answer
29 views

Problem when i configure permalink

When I changed the permalink to /%postname%/ I lost the connection with server... and I need to clean .htaccess to access again... how can i fix it? What do I need to put in .htaccess? My current ...
0
votes
0answers
56 views

htaccess problem not being able to overwrite previous rules

so guys, what i need to do is: whenever someone ask for this url: dev.site.com/noticias/id/tittle-for-the-news ( dev.site.com/noticias/([0-9]+)/([A-Za-z0-9-]+)/ ) it needs to get this: ...
-1
votes
1answer
148 views

Add segment to URL in htaccess

I want to edit .WordPress .htaccess file, add a segment to URL in the following fashion: Instead of: http://www.example.com/mypost/ make it http://www.example.com/coolstuff/mypost How can I do ...
0
votes
1answer
72 views

Unable to access WP admin

I cannot access admin via: http://xxxxxx.com/admin or http://xxxxxx.com/wp-admin Fatal error: Class 'ObjectModel' not found in ...
0
votes
1answer
98 views

How to permanent redirect old domain to new one. in case amazon store

How do I permanently redirect this url using .htaccess, so that if anyone views old web page, it redirects to the new one. For example: http://olddomain.com/folder/AmazonASIN.html --> ...
0
votes
0answers
53 views

301 redirect htaccess on php?id=X not working in Wordpress

I'm trying to complete a htaccess 301 redirect on a wordpress website. I'm trying to redirect: /directory1/file.php?id=3 to /directory2 I've been at it for an hour or so any advice?
0
votes
0answers
32 views

Wordpress blog not loading articles

I have set up a static website with basic information pages such that all of the static pages fall into one level and in that directory there is directory "blog" which contains a Wordpress 3.5.1 ...
4
votes
1answer
559 views

Redirect entire website to a single page

I need to redirect a whole WordPress site to a single WordPress page. A sort of maintenance mode, but the redirect has to go to a published WordPress page. Unfortunately, the maintenance page I need ...
0
votes
0answers
72 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 ...
4
votes
5answers
3k views

Use a different domain for SSL

long time lurker - first time poster. A client of mine has a website developed in CakePHP, and a wordpress blog installed in the /blog/ directory. Let's say the url of the main domain is ...
0
votes
2answers
204 views

Redirection with a wildcard

I have put my wordpress installation liek these : http://www.mydomain.com/cms for the testing time, and time to implement thing in the database. Now i have switch the whole thing to : ...
0
votes
1answer
150 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
130 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
269 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
1answer
171 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
66 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
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 ...
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
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 ...
0
votes
1answer
200 views

Comment author url link is wrong? How to change from authors/ to author/

I’m maintaining a rather simple blog where a small number of people are registered as administrators to write posts. When making a link to the authors URL in a posts meta data, I use the function ...
1
vote
1answer
54 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
5answers
14k views

How can I make an htaccess file on a Mac? [closed]

I'm trying to set-up pretty permalinks for my site. WordPress has a warning that my htaccess files is not writable. It provided some code to copy and put in the htaccess file. I'm on a Mac, my local ...
0
votes
1answer
93 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
122 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
243 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
99 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
1answer
259 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 ...