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
51 views

How can I set up a completely separate (not multisite) Wordpress installation as a subdirectory of an existing Wordpress blog?

I currently have a Wordpress multisite network running at http://www.mysite.com and rooted in /var/www/html. I need to set up a completely separate, single-site Wordpress installation accessible via ...
0
votes
0answers
37 views

Removed and Reinstalled Wordpress, Redirect Broken now

I just removed and reinstalled wordpress, I think something messed up.. Now when I enter URL, such as "test123.com", nothing load.. The ".htaccess" file on root folder is empty. and content of ...
0
votes
0answers
41 views

Wordpress links/site title won't work

I have one Wordpress installation at www.website.com, and a test site at www.website.com/test. The standard site works fine, but the links on my test site act weird. I use post title as permalink ...
0
votes
1answer
45 views

Redirect Wordpress MS to no-www version, excepting some dirs and prefixes

I have a Wordpress MultiSite, let's say: example.com two.example.com tree.example.com ... xyz.example.com Currently, I'm using this: RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteRule ^(.*)$ ...
0
votes
0answers
40 views

.htaccess not working in Wordpress

I'm trying to make use of the post name permalink so that visitors can access the page created by the plugin that I'm using. I've already checked phpinfo() and mod_rewrite is listed under the loaded ...
0
votes
1answer
94 views

Selectively Disabling PHP via .htaccess in Root Directory

I'm reading up on securing WordPress and one of the commonly suggested techniques is to use an .htaccess file to disallow PHP execution in wp-content and wp-includes. I then read about another hack ...
0
votes
2answers
238 views

add_rewrite_rule to remove /category/ from permalink

Hi I have many permalinks across my site that looks like this: http://www.mysite.com.com/market/category/slug/slug/slug/ http://www.mysite.com.com/market/category/slug/slug/ and would like to hide ...
0
votes
0answers
27 views

Wordpress Multisite .htaccess

Aloha, guys! I just set up a network on my wp site and as you know you have to copy some lines to your .htaccess file the problem is I've changed the folders of wp; wp-admin to xcontrol ...
0
votes
1answer
241 views

Temp URL Redirect Loop

I am attempting to set up my site using a temp URL (IP/~username/domain) through hostgator, but I am running into some issues. I have gone into the database and replaced all instances of my old domain ...
0
votes
0answers
124 views

WP in subdirectory : redirect loop error due to redirect_canonical

I have a fresh Wordpress install in a subdirectory: /blog/ I visit my Wordpress site like this: http://www.example.com/blog and posts like this: http://www.example.com/blog/category/postname In ...
0
votes
0answers
26 views

Redirect old blog address to new blog address - different domain

I've changed hosting companies and also got a new domain for my blog. I've pointed the old domain to the new host, and the blog is now totally set up and running on the new host, with the new domain. ...
0
votes
0answers
66 views

Wordpress | Sub folder conflict with page on Windows server web.config

I have a conflict within the wordpress where I have a page called (sport) and a subfolder also (sport). Whenever I access this page on wordpress I got forwarded to the subfolder. Is there anyway to ...
0
votes
1answer
65 views

multisite subdirectory blogs missing slash

New WordPress 3.5.2 multisite (subdirectory) install is missing a slash when creating new blogs. WordPress is installed to server like: blogs.domain.com When a new user registers, the conformation ...
0
votes
1answer
20 views

htaccess 301 Redirect not working from aspx to new WP permalink

I'm fairly experienced with htaccess files and Rewrite/Redirect rules, however, this one has me stumped as to why it's not working. NONE of the following lines (used individually, not together) have ...
1
vote
0answers
131 views

Wordpress .htaccess file gives issues with subdirectory

I have a WordPress installation in the root and a subdirectory, which contains a index.html file. This file doesn't give me proper display as what it is supposed to when I access it. But when I ...
1
vote
1answer
402 views

Add .html extension to custom post type taxonomies

I want to have the .html extension in the custom post type taxonomy urls. My custom post type taxonomy it is called "product_cat". I will need something like: ...
0
votes
0answers
54 views

External/non-WP rewrite rule without QSA

I'm trying to add a new external/non-WP rewrite rule to my .htaccess but WP keeps adding [QSA,L] to the end of the rule. How do I prevent the QSA part? This line adds the RewriteRule: ...
0
votes
1answer
55 views

redirect the root of a domain, while leaving the www version unredirected

I have some bad links pointing at abc.com. Wordpress automatically redirects abc.com to www.abc.com. I need to redirect abc.com to a holding page... let's say www.abc.com/holding.html. What is the ...
-1
votes
2answers
168 views

Custom url rewriting

I am struggling to create custom rewrite rules for wordpress. This is my url structure http://domain/cityprofile/?city=Sydney where city profile is a page template. Now i want to make this url ...
1
vote
1answer
208 views

WP Site in subdirectory Joomla! Site - Permalinks not working

I have WordPress in a test folder inside the root directory where I Joomla! 3.x site is running. Somehow the Joomla! rewrite rules are interfering with the WordPress permalinks rules. I keep on ...
0
votes
0answers
26 views

Correctly Rewrite Register Page

I have attempted to make it so that users can register on my site as follows: www.domain.com/register I have done this by adding the following line to my .htaccess file: RewriteRule ^register/?$ ...
0
votes
0answers
13 views

Wordpress, 2 Domains for different sections, Wordpress Multisite perhaps?

I currently have a client who runs two companies that sell related products but they want to keep them separate. I decided to setup a site in Wordpress with one menu item containing the info for ...
0
votes
1answer
431 views

How to rename the WordPress wp-login.php running on IIS6?

My Windows 2003 VPS recently hang due to bots hammering my WordPress login php non-stop for hours (determined from IIS6 logs). This caused MySQL to use up all the allocated 1G RAM. After resetting ...
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 ...
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
217 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 ...
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
0answers
100 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
51 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
57 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
3answers
195 views

Changing RSS feed URL structure

I am in the process of creating a wordpress website, and I just have one issue left - RSS feeds. Currently, the website has a .htaccess file blocking access to /category/* pages. It was part of a ...
1
vote
2answers
184 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
172 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
299 views

.htpasswd asking for authentication on home page

I have Wordpress installed on a subdomain. I added a .htpasswd file to the wp-admin folder. This works as intended on the login page and if I try to cancel or close the pop-up window I get the ...
0
votes
1answer
66 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
0answers
69 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
151 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
72 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
101 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
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
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 ...
-1
votes
1answer
147 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
71 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
209 views

Use two different index pages

This link is pointing to my home directory. I want my users to see ~/home/prototype.php page when they come to my site. To achieve this, I have set following in my .htaccess file of that directory: ...
0
votes
0answers
55 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: ...
0
votes
1answer
96 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 --> ...