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

How to hide wordpress error message?

how to hide wordpress error message "You do not have sufficient permissions to access this page" and show 404 error page for all non administrator's request like e.g mydomain.com/wp-admin/plugin.php ...
0
votes
0answers
30 views

Splash screen in htaccess, now links are not working

I wanted to use an already made html page for my wp site in root. Didnt want to move all wp inside a folder so I used the answer here using htaccess. Problem is, now if I write /wp-admin I got to the ...
0
votes
2answers
38 views

Redirect not working

I want to redirect the http://xyz.com/freebooks/ to http://xyz.com/shop/?min_price=0&max_price=0 I added this to the .htaccess and it redirects to the shop page but doesn't retain the /freebooks/ ...
0
votes
0answers
32 views

Redirect extra url to Multisite in folder

I have a multisite that uses subfolders (for instance domainname.com/mysite). I would like to have this site also available through for instance domainname.com/mysite2. Is there a way to do this ...
0
votes
1answer
230 views

.htaccess in wp-admin produces a redirect loop

I've decided to take the advice of protecting the /wp-admin directory using .htaccess on a website which keeps getting hacked. Whenever I upload .htaccess to /wp-admin, my browser says /wp-admin has ...
0
votes
2answers
32 views

Wordpress site not redirecting properly

We have developed a wordpress site recently, if i just type http://example.com in browser i will get the site, but if i type www.example.com it is not displaying anything, what happened to it, is ...
0
votes
1answer
24 views

Home links redirects to old site

So I have a issue that can´t really wrap my head around, it is most likely .htaccess related. I have just moved my site from a subdirectory to the main directory, this was done changing the site url ...
1
vote
0answers
46 views

Static raw HTML page

On the server there is a static HTML page example.html in my root folder of the WordPress install. Now when a user types www.example.com/example.html I want WordPress to be smart and bypass all normal ...
0
votes
0answers
22 views

Unusual behaviour in my wordpress due to htaccess

I discovered that wordpress/buddypress stopped working (a blank page), and the problem is related to htaccess issues . I found that those lines were added may be automatically (I don't remember ...
0
votes
1answer
77 views

Permanently Redirect WordPress Subfolder Blog to Subdomain on Another Server

Let me further explain the title. Originally we had a static marketing site at example.com and the wordpress blog hosted at www.joesexample.com/blog. We are now moving that blog to ...
0
votes
1answer
29 views

Some Pemalink problems, probably caused by wrong .htaccess configuration?

I have import on my local webserver a backup of a website made using WordPress but I am finding some difficulties with PermaLink configuration The main problem is that if I use the permalink setted ...
0
votes
1answer
60 views

How to redirect WP post with a specific word in the URL

I've changed the URL structure of my WordPress post (not page) from: example.com/archive/post-id to: example.com/post-name I'd like to redirect the old structure /post/ to the new one via ...
0
votes
1answer
71 views

Internet Explorer opens links to .msi files as text in a new tab

I'm really struggling with this issue. The WordPress site I manage has had .msi files available to download for a long time. Since the recent update to WordPress 3.8, Internet Explorer no longer ...
0
votes
0answers
25 views

displays only broken images in WPMU sub domains

I am using wp 3.8 the default .htaccess code, displays only broken images in WPMU subdomains. I tried to modify the RewriteRule to: RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) ...
0
votes
0answers
36 views

No input file specified after enabling multi site

I am getting this error after enabling Multisite "No input file specified.", I can't find a solution in the internet, I hope you can help me. I have this in my htacces RewriteEngine On RewriteBase / ...
0
votes
0answers
24 views

How to map sub-directory to second wordpress multisite?

I have setup a two sites using one wordpress installation. The issue that I have now is that I can only access each site via /blog/ and /blog/support/. I want to access the support section using ...
0
votes
1answer
65 views

Enabling XSendFile causes 404 for images on Wordpress Multisite / Network

I've compiled and installed the XSendFile module and added the following lines to my .htaccess: XSendFile On It shows up as being activated in <?php info() ?> under loaded modules. The ...
0
votes
2answers
55 views

301 redirect not working through .htaccess

I found this little trick http://css-tricks.com/snippets/htaccess/301-redirects/ to redirect my old Wordpress domain to my new domain with the path included. I run a test on my local copy and ...
2
votes
1answer
60 views

Multisite wordpress and subdomain URL collisions

I have a multisite WordPress installed on a server using a domain, site.com and I have a subdomain setup in WordPress, so subsites are at sub1.site.com, sub2.site.com etc. In addition to this, the ...
0
votes
1answer
297 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
0answers
32 views

How can I redirect all wordpress tag subdirectory (subfolder) to another one (archives/tag)

I changed my permalinks and it working fine but I need to redirect old tag folder to archives/tag to not lose links which google indexed below is my .htaccess file in the root of my recipes site ...
0
votes
2answers
85 views

Basically the opposite MultiSite URL question that most people ask

Going to install a wordpress multisite in a subdirectory format. So a new site will be site.com/sitetwo/ or site.com/sitethree/ but what I need to do for the specific task at hand is change the url to ...
0
votes
0answers
18 views

htaccess breaks periodically [duplicate]

Ever since a few weeks, my .htaccess gets consistenly broken every few days. Sometimes it just gets an extraneous character at the end of file, but most of the times it's part of the file duplicated, ...
0
votes
4answers
34 views

Will deleting WP's code in .htaccess cause problems?

I need to use the following redirect on my site: RewriteEngine on RewriteCond %{HTTP_HOST} name.com RewriteCond %{REQUEST_URI} ^/(1[0-9]{3}|200[0-9]|201[0-3]) RewriteCond %{REQUEST_URI} !/2013/12 ...
0
votes
1answer
231 views

Wordpress in sub directory wp-admin problem

I have WordPress 3.3.1 installed in a sub directory on my site just to use as a staging test site. It seems the root sites .htaccess is creating problems for Wordpress wp-admin page. I've set the ...
0
votes
0answers
55 views

403 forbidden issue in wordpress

i have corner advertisement plugin in my wordpress website, this plugin used to convert given image into swf file and display it in any one of corner with peel effect. this plugin only not working in ...
0
votes
0answers
26 views

WordPress htaccess

I got the following from the html5 boilerplate htaccess file. Is this safe to add to my wordpress htaccess? And will it help? <IfModule mod_deflate.c> # Force compression for mangled headers. ...
1
vote
2answers
75 views

301 Redirect To Post ID

I have an existing asp based blog where all posts contain a post id in their URL (template_permalink.asp?id=123). I have a blank WordPress blog. I will have to recreate all of my posts manually, ...
0
votes
0answers
14 views

Security: How to disallow viewing/browsing by author? [duplicate]

I've already inserted htaccess code to disallow searching for users by numeric id. However, one can still manually input a user name to view/browse by author, e.g. http://mywpsite.com/author/peter/ ...
0
votes
1answer
29 views

Simple URL rewriting gone wrong

I have this .htaccess file <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteRule ^feed/sejururi\.xml$ /feed/ [L,NC] RewriteCond %{REQUEST_FILENAME} ...
0
votes
0answers
50 views

Custom Post Type Permalinks Problem

looking for some help with a permalink structure problem. I am using this code here http://pastebin.com/QfgAMkfV as a plugin with hopes of creating a structure like so /films/ /films/film-name/ ...
0
votes
0answers
108 views

Problems with moving wp-content to a subdomain

Got a little problem. I wanted to move wp-content to a subdomain (content.sitename.com) but there's a weird problem when rendering PHP-Content (e.g. style.css.php). Every PHP file in ...
0
votes
3answers
139 views

Giving Wordpress it's own directory and using .htaccess Directory Index

Would this be a bad idea for any reason? - installing Wordpress in a sub-directory (ie: http:// example.com/wordpress) alongside the current website (ie: http:// example.com) that is not using ...
0
votes
1answer
74 views

Remove subfolders from URL

I am having a tough time removing the subfolders from the URL in my WordPress site. Currently, the URL format is: www.mysite.com/subfolder/index.php/category/postname I would like to remove both the ...
2
votes
1answer
58 views

How to redirect url requests to https? [closed]

I've searched far and wide for a solution to this and I am sure it's simple but I simply couldn't find a solution. This is the regular wordpress redirect code: <IfModule mod_rewrite.c> ...
0
votes
1answer
31 views

Restrict Content for only Contributors via .htaccess

I have been using this code to restrict content download from wp-content/uploads for only logged in users: RewriteEngine On RewriteBase / # Add these lines right after the preceding two ...
0
votes
0answers
81 views

WP Multisite URL rewrite static content folder

I have a WP multisite installation on the root folder. one of the sites have a subdomain subdomain.mysite.com in the root folder there is a sub directory called /subdomain-static folder ...
0
votes
0answers
45 views

Allowing access to certain Wordpress created pages or posts with htaccess / htpasswd

Trying to figure out how to give access to a certain page, lets say http://mypage.com/page and not letting people access the main index via http://mypage.com. Or just simply disallow access to ...
0
votes
1answer
187 views

How to Create a Mod_Rewrite/Regex Rule to Redirect Requests old URLs to Their Updated Link Structure

Here goes... How would I create a mod_rewrite rule to that will redirect a variety of possible URL requests to their updated URL counter parts. We are migrating and old site to a CMS with a ...
0
votes
0answers
49 views

Wordpress query string rewrite .htaccess

At the minute my .htaccess looks like: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /testdirectory/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f ...
1
vote
1answer
124 views

CNAME vs A Record for WWW - with 301 Redirects

I am using a 301 redirect plugin: Quick Page/Post Redirect Plugin and my site's URL is http://example.com <-- notice no www. This works great for the following scenario: User types: ...
0
votes
0answers
74 views

Wordpress redirects mywebsite.com/author/admin to mywebsite.com/wp-admin

I got my self-hosted Wordpress installation, with a nice theme implemented. For writing blog posts I'm using the only user of the website, called "Admin". In my case I only have one author for my blog ...
0
votes
4answers
2k views

Permalink Issues by Installing WordPress in Subdirectory / Subfolder

I installed WP in subfolder /cms and it runs live without subfolder. When I use /%postname%/ as permalink I get 404 error on my site. My Server supported mod_rewrite. My Code wp-config.php ...
0
votes
2answers
561 views

How do I redirect a post url to a custom url?

I've created a page that loops posts. Each post acts as a category link so that when you click it brings you to a category archive. My issue is that wordpress somehow overrides my htaccess and ...
0
votes
1answer
140 views

WordPress keeps writing rewrite rules to .htaccess

WordPress keeps writing rewrite rules into .htaccess again and again till it causes an error and causes server to return 500 Internal server error... i.e. My .htaccess is a series of # BEGIN ...
0
votes
1answer
57 views

Hide pages from google and visitors

I have wordpress site where i have few custom type pages. I load the content of those pages with jquery load. But I dont want that those pages are directly visible. So if user goes to ...
2
votes
0answers
116 views

How to write .htaccess dynamically? [closed]

I am trying to set permalink structure on theme activation. The following function included in function.php of theme. // Executes function on theme activation function myactivationfunction() { ...
1
vote
0answers
106 views

htaccess getting overwritten over and over = 404 error

I have been having a big issue on my wordpress blog and don't know what to do right now. To make it short, my .htaccess file is getting overwritten over and over... These lines : # BEGIN WordPress ...
0
votes
0answers
48 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
153 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 ...