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

Clarification - Change tag base - 301 redirect old indexed links?

I keep reading conflicting guidance on this including the occasional difference of opinion on here. I'm happy with my permalink structure - would love to lose '/category/' but read of many issues with ...
1
vote
6answers
165 views

Pages 404 in wordpress

First of all, I am very new to wordpress and know almost nothing about it. When I create the page foo using in wp-admin, I get the message that the page is created. When I click on view page, it ...
0
votes
0answers
13 views

Setting up a virtual subdirectory to display identical content as root directory [duplicate]

We have a standard Wordpress installation being used as a CMS. We're using standard pages with basic permalinks (e.g., /page/ or /parent/page/). We'd like to have that exact same content mapped to a ...
0
votes
0answers
48 views

$wp_rewrite->flush_rules() Causes duplicate rules.

We've noticed this a lot on certain installations and can't figure out why it is happening: Calling $wp_rewrite->flush_rules(); Caused WordPress htaccess rules to be appended to the htaccess ...
0
votes
0answers
67 views

url rewrite subdomain to multisite

I have a multisite install of WordPress on an Apache (windows server 2008) with one "child" site. So: C:\Apache24\htdocs\wordpress is the physical install location ipaddress/wordpress/childsite is ...
1
vote
2answers
125 views

How to publish new posts/pages in root instead of subfolder, but keep old structure in place?

I have a blog that was setup in example.org/blog/ many years ago, so all its files are in /blog/. Back then it seemed like a good idea, but now we want to slowly get rid of the subfolder. Of course ...
0
votes
2answers
530 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
0answers
487 views

403 forbidden due to .htaccess?

I have this 403 forbidden issue that i can't tell what's causing it. At this moment, i've already talked with theme support, wich advised me to talk with host support, wich i've done it already, they ...
0
votes
1answer
453 views

.htaccess rewrite

I have created a custom post type called 'event' and added an event called London 2012. I want the following URL structure for a page: local.mysite.com/london-2012/speakers I have created a page ...
0
votes
0answers
72 views

Wp security plugin access subfolders

I have install wordpress in the root folder but i have subfolders and give me error 403 for access , i think the problem it´s of htaccess of wordpress i use wp security also as module for security and ...
1
vote
0answers
70 views

Multisite install w/ Sub domains on a subdomain

I have a Wordpress installation which I have installed on a subdomain login.mysite.com. I would like to create additional sites that use the same application on feed.mysite.com, but technically this ...
0
votes
0answers
48 views

404 even after a nice 301 redirect

With a nice solution I edited my .htaccess to do a permanent redirection to my blog. It's working fine. But... suddenly one of my plugin "Better WP Security" is peaking some 404 error that occurred ...
0
votes
1answer
51 views

How do I block a subdirectory from WordPress theming?

I have a WordPress site. It works great. But I have a subdirectory on my server where I work on client websites. It's a development space and most of those sites are NOT WordPress. Sometimes (but not ...
0
votes
0answers
200 views

Passing multiple variables in wp_rewrite / wp_query

i need to be able to append a custom url for my page in wordpress so far i can get it to return the first query var, but i cannot get it to return the second or third im at a loss of what to try next, ...
0
votes
0answers
53 views

Redirect from domain.com to subdomain.domain.com

Lets say my site domain is main.com and this is a wordpress site. I have 4 subdomains,say, cat1,cat2,ca3,cat4. Random posts and pages are displayed on main.com.They come into either of 4 categories ie ...
1
vote
1answer
43 views

How to turn this .htaccess rule into a dynamic rule with add_rewrite_rule, et al?

In .htaccess, I have this: RewriteRule ^land/(.*) /?land=1&exper=$1 [QSA,L] which makes sth like this: domain.com/land/exper1 fill in the $_GET with $_GET['land'] = 1 and $_GET['exper'] = ...
0
votes
1answer
57 views

Wordpress site not working after move

My site used to be in www.website.com/wordpress, now I've moved it to the root (www.website.com). I followed the wp codex instructions: 1. changed site url in admin cp - after I saved changes, I got ...
-1
votes
2answers
184 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
2answers
541 views

deny IPs from wp-login using .htaccess

i am trying to ban a spam bot IP from my wordpress, since the "limit login attempts" extension mails me multiple times every day, that the same IP is trying to login. so i added the following to the ...
8
votes
3answers
5k views

Masking wp-content/themes/name/images to just images directory using htaccess

I'm trying what I thought would be something really simple of masking my url but cannot seem to get it to work. I want to be able to link to images in my img tag without having to type in the full ...
0
votes
1answer
55 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
79 views

customize urls displayed by previous_post_link and next_post_link

I am using the below code to display my next and previous links in single.php: <div class="nav-previous"><?php previous_post_link( '%link', '<img height="34" src="' . ...
0
votes
2answers
160 views

htaccess and htpasswd

im trying to lock my admin panel from my users with adding htpsswrd file to wp-admin folder. but also i want my users can edit their profiles. so i create this file (htaccess) AuthName "Username and ...
0
votes
0answers
38 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
42 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
57 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
42 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
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
100 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 ...
0
votes
1answer
160 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
0answers
29 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
0answers
186 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
27 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
84 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
31 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
1answer
546 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: ...
1
vote
0answers
138 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 ...
0
votes
1answer
65 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
vote
1answer
285 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 ...
1
vote
3answers
227 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 ...
2
votes
2answers
736 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
457 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
162 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
2answers
784 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
208 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
68 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
79 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
343 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
122 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
1answer
61 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 ...