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

.htaccess restrict subdomain by IP - Wordpress Multisite

I'd like to redirect traffic away from a subdomain install of Wordpress Multisite unless it's coming from a specific IP address/range, and without affecting the root domain traffic. Is this possible? ...
0
votes
1answer
34 views

different CNAME to corresponding subfolders

I have three wordpress websites hosted on Apache server in three different subfolders, like www.mydomain.com/sub1;www.mydomain.com/sub2;www.mydomain.com/sub3 Now, I have three new domain names ...
0
votes
1answer
44 views

htaccess has broken my site

I made a small addition to the htaccess file and it broke my site (I'm certain there were no errors, however). So I deleted what I added and 24 hours later the site is still broken. I've disabled the ...
0
votes
0answers
44 views

WordPress Htaccess Redirect Loop

I have a site with a wordpress blog in a sub-folder named blog. I added an .htaccess file to the main folder, with just the following lines: Options +FollowSymlinks RewriteEngine on Rewritecond ...
1
vote
0answers
118 views

404 not found error on WordPress local host

I'm doing some work on a live WordPress site, and before making changes wanted to create a local copy of the site to use. I've gone ahead and done that, (using BackUpBuddy) but I am getting this ...
0
votes
0answers
96 views

Change Login URL Without Plugin

I want to change the login url of my Wordpress install away from /wp-admin.php I am aiming to do so and am looking at changing the .htaccess file to add in: RewriteRule ^login$ ...
0
votes
0answers
36 views

404 error with nested WordPress installations

I'm making changes to a site that someone else built in the root directory of their server and trying to add another directory with wordpress onto the root of the server, it gives me a 404 error from ...
0
votes
0answers
53 views

Multisite permalinks for subfolder wordpress installation

I have WordPress installed in a subfolder of the main site: http://www.example.com/blog/ Now I need to add second blog on http://www.example.com/blog/second/ So 2 blogs should work on the following ...
0
votes
0answers
19 views

Complicated site setup; previews not working

I have a site which is hosted on a linux box (blog.example.com). I have a main site which is on a separate windows IIS box using the domain www.example.com. I have an IIS rewrite rule which rewrites ...
0
votes
1answer
53 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
49 views

Protect wp-login, but get an internal server error

I am trying to protect my wp-login by #Protect wp-login <Files wp-login.php> AuthUserFile ~/.htpasswd AuthName "Private access" AuthType Basic require user myusername </Files> after the ...
0
votes
1answer
46 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
2answers
52 views

Why my wp site always redirecting to the old website path..?

I am having problem on migrating my Wordpress site from the sub folder to the root directory. My current website URL is not working on uploading the project on root directory. It's get redirected to ...
0
votes
0answers
29 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 ...
1
vote
2answers
77 views

Redirect 301 www.my-site.com/page/n to www.my-site.com/ [closed]

How to make redirection on WordPress site with .htaccess to redirect this: http://www.my-site.com/page/n to home page: http://www.my-site.com/ I do not wish to list previous post on site on first ...
0
votes
0answers
73 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
1answer
24 views

get_bloginfo prints IP instead of url

I just recently moved a site to another production environment and I seem to have missed some setting in the db config as a lot of the built-in functions prints the IP instead of the url. Ideas? Tried ...
0
votes
0answers
21 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
1answer
29 views

Hardening wordpress: blocking /includes with htaccess

This page http://codex.wordpress.org/Hardening_WordPress says this should be included in the .htaccess file to block requests for files inside the includes dir. # Block the include-only files. ...
0
votes
0answers
37 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
41 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
43 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
2answers
106 views

.htaccess regex for redirect subdomain to root domain & redirect old permalinks

ok, i have at site a blog.mysite.com, and recently migrated all content to a new wp install at mysite.com. i want to redirect all of the posts from blog.mysite.com to mysite.com and also account for ...
1
vote
0answers
25 views

create virtual subdomains for a bunch of urls on a site via .htaccess

I need to be able to create subdomains for a bunch of urls on a site, from: domain.ca/communities/city/nw/neighbourhood/ to: neighbourhood.domain.ca There are a couple of things that change in the ...
0
votes
0answers
23 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
36 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
25 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
1answer
88 views

How do I reset a rewrite?

I made a mistake in writing a previous rewrite in .htaccess. How do I reset it? My home_url = http://basicsourcemassage.ca/bsmassage My site_url = domain name All pages work fine except for the ...
0
votes
0answers
47 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
1answer
77 views

Custom permalink structure only saves with index.php inserted

So I'm having this weird issue on the dashboard where custom permalinks only (default, day and name, month and name etc. those all work fine) doesn't save. I can choose the radio button and click ...
-1
votes
1answer
131 views

Custom Search only for my Custom Taxonomy Page - data

First of all, my post is related to : Link 1 and Link 2 I made my custom taxonomy page. My Custom Taxonomy Page link is //localhost/myproject/?motion=aamir-khan This page is custom taxonomy ...
0
votes
1answer
172 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
79 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
53 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 ...
1
vote
0answers
46 views

URL for images folder on Multisite

I am developing a theme locally on a local multisite installation and trying to change the default gravitar with the following function: function custom_gravitar ($avatar_defaults) { $myavatar = ...
0
votes
0answers
28 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
36 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
454 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
66 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
134 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
70 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
33 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
194 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
102 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
25 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
27 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 ...
1
vote
1answer
39 views

Allow Permalinks to Work with and without Hyphens

Is there a way that I can change my .htaccess file to allow the user to go to a permalink with or without the hyphen? For example: I have a page: http://example.com/parent/two-words To get to that ...
0
votes
1answer
111 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 ...
1
vote
2answers
377 views

How can I make my .htaccess file writeable by wp-admin?

My ISP changed the hosting for my Wordpress blog and everything stopped working. There was a DNS issue but they resolved that, but then every page apart from the home page returned a 404 error. When ...
0
votes
0answers
17 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. ...