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
2answers
195 views

Non Wordpress Folder in a Wordpress Site

On localhost (WAMP server) I have installed wordpress in the root directory (examplesite.com). I have an application that needs to run outside of Wordpress, so I would like it in the folder ...
0
votes
1answer
458 views

What would cause a 500 Server Error with permalinks turned OFF?

I'm using the "default" setting for permalinks, at least I just switched back to that, and I'm still getting a 500 response code when trying to get to any post page like mysite.com/?p=4536 I can see ...
0
votes
1answer
108 views

Mass .htaccess URL Forwarding

I'm doing the migration of a site, from MovableType to WordPress. The website contains around 3500 posts and when I uploaded the information to the new version of the site, the links have been ...
0
votes
1answer
226 views

How can I create a smarter .htaccess file that will add a directory?

This is my current .htaccess file: Options +FollowSymLinks RewriteEngine on RewriteRule (.*) /directory/ [R=301,L] And "directory" is where my wordpress install is. So this simply redirects people ...
0
votes
1answer
445 views

Htaccess maintenance page rules that actually work with WordPress?

I am trying to take my site offline for maintenance but only allow access to my IP address. However I can only ever manage to produce an internal server error. I don't understand how it exactly what ...
0
votes
2answers
156 views

Install a Network under a mapped domain

I'm already running a WordPress installation just fine under a mapped domain. The current setup points (www).sample.com to /sample/ within domain.com, and it works fine. In the Create A Network ...
0
votes
1answer
67 views

WP Codex answer incomplete? Put WP in subdirectory. .htaccess change required

I have installed Wordpress in a subdirectory '/medical' and want the address to show up as www.mysite.com/page not www.mysite.com/medical/page The Wordpress Codex here : ...
0
votes
1answer
4k views

custom htaccess rewrite rule for page

i have a page in wordpress called "video". its page id is 6, and its slug is "video" in my theme ive set it up to show content based on GET variables here is the URL rewrite im trying to set up: ...
0
votes
1answer
101 views

mod-rewrite rules grabs “broken permalinks”, too

This is the automatically generated htaccess file of WP using permalinks for the pattern /%year%/%postname%/ (working with http://localhost/BLOG-FOLDER/ yet): <IfModule mod_rewrite.c> ...
0
votes
1answer
2k views

Rewrite rule that wp-login.php?action=register is left alone

Unfortunately buddypress breaks a facebook connect script because of the rewrite rules. It changes /wp-login.php?action=register into /register/ I tried to find where the custom rewrite rule is ...
0
votes
1answer
320 views

Change author permalink using htaccess?

The original urls for users look like /author/user-name/ Is it possible to replace login by user's id? (something like: /author/34/ (34 is user id)). I found the solution given here, to not work for ...
0
votes
3answers
1k views

Wordpress permalink, stop redirection

I'm having some hard-time with with WordPress permalinks. WordPress 3.1 seems to force url redirection, ex: This is the correct post url: http://www.mysite.com/test/1/mypost.html If I go to any of ...
0
votes
2answers
101 views

New installation can't be found due to htaccess of the original non-Wordpress site

I have a non-Wordpress site , www.example.com For canonicalization purposes I have this in .htaccess : Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.example\.com$ ...
0
votes
1answer
534 views

How to add multiple rewrite rules to WordPress .htaccess and delete them separately?

After an intense research without finding the proper answer I decided to ask my question here. I need to add some rewrite rules when activating a plugin in WordPress without existing custom rules ...
0
votes
1answer
458 views

Getting WordPress to work inside a rails 3 application

I am migrating an existing WordPress blog into a subdirectory of a new rails 3 app (deployed on Apache2 / Ubuntu 10). I have PHP/MySQL installed, and I have a standard rails app folder structure in ...
0
votes
2answers
2k views

Pagination problem (plugin wp-pagenavi) with a custom post type?

I am currently developing a WordPress website with a custom post_type called "music". I use the plugin wp-pagenavi to paginate content "music". When I link on the first page, it's OK (see link below) ...
0
votes
1answer
302 views

Date based redirects of posts that no longer exist

I want a more elegant way to express the following redirect: RewriteCond %{REQUEST_URI} ^/blog/2008/(.*) [NC, OR] RewriteCond %{REQUEST_URI} ^/blog/2009/01/(.*) [NC, OR] RewriteCond %{REQUEST_URI} ...
0
votes
1answer
1k views

How can I resolve a .htaccess internal server error setting up a WordPress multisite?

I am stuck in .htaccess file creation for multisite. I am getting an error in page now internal error 500 and when i checked my log in apache it says C:/www/vhosts/localhost/wordpress3/.htaccess: ...
0
votes
0answers
18 views

WP site not showing front or backend content after adding htaccess

I have added an htaccess file to WP but have now lost all content front and backend. I added this htaccess plus a htpasswd file; AuthType Basic AuthName "restricted area" AuthUserFile ...
0
votes
1answer
22 views

.htaccess RewriteRule to include post type and taxonomy

I'm trying to rewrite this url www.domain.com/gallery/?university=birmingham to an seo friendly one like this www.domain.com/uni/birmingham/gallery the (?university=birmingham) represent the ...
0
votes
1answer
26 views

How to change home or site url using action hooks or filter?

I want to change url dynamically, so is there any way to change url? I know other methods like from admin, directly from database or wp-config. but i want to change it from either hooks or filter. ...
0
votes
0answers
8 views

How to combine 2 separate htaccess [migrated]

I have 2 separate htaccess and i need to combine them into one but im not sure how to do it. These are my htaccess: 1 (the current one) <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / ...
0
votes
0answers
26 views

Getting rewrite correct

I had the permalinks settings as /%postname%/%post_id%/ but recently change it to /%postname%/ and added the following to htaccess RedirectMatch 301 ^/([^/]+)/(\d+)/$ http://www.site.com/$1/ It ...
0
votes
0answers
18 views

Subpages return 404 server error

I just moved a site to another production environment and I have an issue with accessing subpages. The home page and the /wp-admin section works as expected and there are no path issues with images or ...
0
votes
0answers
14 views

Some posts 404, htaccess wipes itself

So posts on my WordPress have started to 404, I have tried refreshing the permalinks. Have also disabled all plugins and changed theme. Categories section in the admin panel is also showing empty (but ...
0
votes
0answers
20 views

Some Javascript and CSS not being compressed

Most of my site is being compressed by mod_deflate but there are still several JS & CSS files that are not. I cannot for the life of me figure out why these files are exempt. Thank you for any ...
0
votes
1answer
24 views

wp-login.php ampersand in url results in 404

I've got this problem where the wordpress site will throw up a 404 if the wp-login.php has an ampersand appended after it (e.g. session expired argument). I've changed themes, disabled all plugins, ...
0
votes
1answer
24 views

Folder Name and Category Name Wordpress

I have URLs that need have the old URL for download files. Before, it has 2 separate website. The MAIN and the PORTAL website. http://www.website.org http://www.website.org/portal I want both ...
0
votes
0answers
18 views

Missing visual editor after placing a redirect rule into the .htaccess file

My blog (blog.mywebroom.com) isn't showing the visual editor whenever I try to edit or add a new post. I tried a whole host of solutions, except I couldn't figure it out. The editor disappeared about ...
0
votes
1answer
24 views

Using subdomain as primary domain

I have a dev site at sub.example.com. Instead of migrating the dev site to the root folder, is it possible to do something similar to this but using a subdomain instead of a subdirectory?
0
votes
0answers
17 views

Redirect all multisite uploads to single folder

I have a network of multisite blogs which much operate separately for reporting and small functional reasons, but which share a lot of the same data and imagery. I am looking for a way to redirect ...
0
votes
0answers
26 views

block seacrh engines for all pages EXCEPT homepage

I have a question. Most of my site is password protected, so it is not indexed by search engines. In other words, they don't show up in searches - this is good. There are, however about 40 or so ...
0
votes
0answers
32 views

WordPress permalinks with Windows Server IIS6 - without ISAPI access

I'm having trouble to export the website to my client hosting . . I get an index.php in the url all the time, I've research about it, change the permalink custom structure to: /%postname%/ and add ...
0
votes
1answer
82 views

Redirect A URL Pattern In WordPress Using .htaccess

I am new to WordPress and just converted from Blogger to WordPress. Now as you know that Blogger URLs are too different from WordPress URLs so after migrating I started receiving 404 error in Google ...
0
votes
1answer
45 views

Which WordPress scripts need to be executable for a fresh installation?

For security reasons I need to block access to scripts that will not be executed on a fresh WordPress installation. Example: /index.php --> needs to be executable /wp-includes/cache.php --> should ...
0
votes
3answers
42 views

Once redirected by Rewrite rules, how can WordPress know the page?

I have been searching for some configurations of .htaccess, filters and hooks to make able to manage the inner site uri's. The goal was force login, register and admin pages through SSL, and all the ...
0
votes
0answers
20 views

Site not loading after trying to give wordpress its own directory

I have followed these instructions http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory 100s of times and never had a problem. Now I am trying to remove the /wordpress from the URL again ...
0
votes
0answers
32 views

Wordpress Membership Login not working

I recently tried to set up a membership plugin to my self hosted wordpress site. Problem is, that when I try to login with a test user account it simple doesn't work (of course the login input was ...
0
votes
2answers
85 views

How to remove category from wordpress url?

I am new to wordpress so i am facing a problem in removing /category/ from wordpress URL http://domain/category/category-name So i would like to know how to remove /category/ from the url. I have ...
0
votes
0answers
33 views

Can´t access non-wordpress subdirectories as wordpress overrides them with a 404 error

Hi everybody at the forum, I am new here and this is my first question. I have beed reading this thread, the very first answer by Elpie (Cannot access non-wordpress subdirectories as wordpress ...
0
votes
1answer
56 views

How do I remove a word from a url in Wordpress using .htaccess?

In the site I'm building there is a post-type called "Focus". Since they need to url to be like www.mysite.com/focus/page-post-name I have the post type slug as "focus". Of course the archive page is ...
0
votes
1answer
47 views

Making WP Admin Folder accessable JUST under a different link

I read all your post regarding renaming and moving the admin folder a few times but I still didn't find the real answers to my question! I got a page, lets say available under mysite.com ,the real ...
0
votes
0answers
18 views

Cannot access subdirectory subpages

I am working on a wordpress site for a client, who has a 2nd install in a subdirectory. When I try to view a subpage on the 2nd install (domain.com/folder/subpage) I get the root directory install's ...
0
votes
1answer
90 views

Wordpress JSON API restrict to specific domain

I have installed and activated the Wordpress JSON API (http://wordpress.org/plugins/json-api) in my self hosted WP site. Now my site content is open to the world via this API in JSON format. But, I ...
0
votes
1answer
33 views

How to redirect multiple subfolders back to root domain?

Due to search engine crawling errors, I need to redirect websites of non existing subfolders to a reachable website. This is what is currently leading to 404-errors: www.domain.tld/subfolder1/tag1/ ...
0
votes
0answers
20 views

Wordpress custom URL htaccess not working

I am having a URL in wordpress which needs to be changed. http://www.somedomain.com/site/other-jobs/view/?action=view&title=php-developer&JOB_ID=158 I want to make this URL to look something ...
0
votes
0answers
24 views

Disappearing items in menu

I have problem with disappearing items in menu. I added php_value max_input_vars 7000 php_value suhosin.post.max_vars 7000 php_value suhosin.request.max_vars 7000 to my .htaccess but it doesn't ...
0
votes
1answer
62 views

How to watermark wordpress images from wp-content/uploads folder with htaccess and php?

I have a Wordpress website, due to some limits i need to have originals of the photo at the serverside, but watermarked ones on a frontend and with direct opening of the photos. I'm using Frontend ...
0
votes
0answers
16 views

Rename wp-admin [duplicate]

I want to rename the admin URL 'wp-admin' to e.g. 'admin'. I set a rewrite rule in the .htaccess to acces the admin login: RewriteRule ^admin wp-admin [NC,L] That works but I can still use /wp-admin. ...
0
votes
1answer
55 views

How To Rewrite WordPress Pages URL Only?

I have my WordPress pages URL as www.example.com/WP/sample-page and I want to make it like www.example.com/WP/p/sample-page.html For this purpose I used a Plugin name "Pages with extension" and it ...