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
59 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
187 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
563 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
57 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
91 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
162 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
65 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
103 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
208 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
1answer
50 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
634 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
141 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
68 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
321 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
238 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
820 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
470 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
191 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
868 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
211 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
72 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
82 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
400 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
129 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
65 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 ...
1
vote
2answers
249 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 ...
0
votes
1answer
73 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
188 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
96 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
212 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
90 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
176 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
36 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
40 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
32 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
63 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
209 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
92 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
123 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
34 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
714 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
116 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
52 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 ...
5
votes
5answers
4k 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
229 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 : ...