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
42 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
36 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 ...
1
vote
2answers
853 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 ...
1
vote
0answers
104 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
1answer
30 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 ...
0
votes
0answers
30 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
260 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
38 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
68 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
2answers
41 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
186 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
31 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
49 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
27 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 ...
2
votes
1answer
73 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
2answers
98 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 ...
0
votes
0answers
47 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
1answer
107 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 ...
1
vote
0answers
21 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
2answers
132 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
4answers
41 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
0answers
97 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
31 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. ...
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/ ...
1
vote
2answers
84 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
1answer
34 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
66 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
1answer
677 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
137 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
262 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 ...
2
votes
1answer
85 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
39 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
101 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
68 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
279 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
125 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 ...
1
vote
1answer
333 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
60 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
145 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
131 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
55 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 ...
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
70 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
322 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
538 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
0answers
81 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
71 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 ...
1
vote
6answers
170 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
48 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 ...