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)

1
vote
0answers
27 views

How to protect specific uploaded files from being accessed by non-logged-in users in WP-multisite

I have a question that I thought the below thread would provide the answer to, but things in WP have changed so it doesn't quite do it, although it helped my understanding of things. How to protect ...
1
vote
0answers
19 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 ...
1
vote
0answers
44 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 = ...
1
vote
0answers
64 views

Accessing Subdirectories in WordPress Install

I have scripts that are in a subdirectory of my WordPress install folder. They are on the same level as the /wp-content/ and /wp-admin/ folders. I'm running them as form processing but I've got the ...
1
vote
0answers
22 views

Is there a directory my plugin can write files to that cannot be viewed via the browser/url?

I want to restrict access to some files uploaded via the admin interface but I cannot rely on the ability to use .htaccess (could be turned off, or they might be using a non-apache web server). I ...
1
vote
0answers
122 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 ...
1
vote
0answers
147 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 ...
1
vote
0answers
72 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
0answers
142 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 ...
1
vote
0answers
178 views

How to rewrite a URL to another rewritten URL without changing the address?

Just got to the end of a site build and the client is now saying the original site URL's need to stay the same and do not want to do 301 redirects due to loss of link juice. The structure of the site ...
1
vote
0answers
193 views

Help with multisite redirect issues using Cherokee OR solid nginx config?

A little background: We've decided to abandon Apache because it can't keep up with the demand we're putting on it. We have a cron script that will create a new post about once every 3 or 4 seconds ...
1
vote
0answers
89 views

An other permalink problem - 404 Error

I know there are already a lots of post about this question, but not a single one helped me to solve this issue. I moved my page to an other server and afterwards I was facing the problem that the ...
1
vote
0answers
61 views

One post on my website is going to a 404 page

So I ran into an incredibly odd and frustrating problem today. As the title says, as of today one of the posts on the website is going to a 404 page. This is the ONLY post that goes to a 404 page. ...
1
vote
0answers
105 views

WordPress Not Using Template Files After Permalink Update

I have a really weird issue that just occurred on a client site. I updated the permalink structure from /%category%/%postname%/ to /%postname%/ and suddenly my pages don't respect templates and are ...
1
vote
0answers
52 views

Customise particular RSS permalink

From my old static website, I want to preserve some URLs like the RSS Feed one. My feed URL is http://traduction.bainslesbains.com/actualite-russe.xml and I want to redirect it to the category feed ...
1
vote
0answers
88 views

Canonical Resource URLs Across a Multisite Network 2012?

This question was asked back in 2010 @ Outputting Canonical Resource URLs Across a Multisite Network? WordPress MU Domain Mapping @ Wordpress.org Since many things have changed since then, I was ...
1
vote
0answers
321 views

htaccess rewrite, adding segment to url

Im not that good with htaccess files & regexes, and i'm trying to add a segment to a certain url. I'm building a website for a festival and we have a comon structure for the artists being: line-up ...
1
vote
0answers
280 views

htaccess rewrite conflict with wordpress rules and ssl

this one has me buggered- I have the below htaccess rule to redirect ssl to non-ssl pages. this works fine, except I'd like to exclude certain wordpress requests from this rule- for example, ...
1
vote
0answers
150 views

Cannot use Network Admin (Dashboard) on Multi-site after 301 www redirect

I have recently added the 301 redirect non-WWW to WWW on .htaccess for my current running blog multisite (Wordpress blog resides under "mysite.com/home/" directory), they seem to work fine after all ...
1
vote
0answers
160 views

Struggling with add_rewrite_rule

I've read this: Wordpress redirection to get url friendly That led me to this: 1) wp.tutsplus.com/tutorials/creative-coding/the-rewrite-api-the-basics/ 2) ...
1
vote
0answers
88 views

I have a page using a pretty url and a mod_rewrite rule matching it. I expected it to give an error but it's working. Why?

this may seem like a weird question but I have something working and I don't understand how. I have moved my wordpress install to a subdirectory and am using the .htaccess file to redirect anything ...
1
vote
0answers
483 views

WordPress + Magento .htaccess ReWriteRule Issue (www vs. non-www)

I have an issue I've been facing for a bit now. Moved away from it, but now I'm back and just have no idea after trying to find a solution online. It seems individuals have faced similar issues, but ...
1
vote
0answers
550 views

How do I setup htaccess for 301 redirects, post Joomla to Wordpress migration?

I've almost completed the tedious task of migrating a relatively complex Joomla site over to Wordpress. The (more or less) final stage I am wishing to figure out is the 301 redirections. I've spent ...
0
votes
0answers
8 views

Convert URL with .htaccess

ORIGINAL URL: http://localhost/category/product WANTED URL: http://localhost/product/ I have this .htaccess: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /en/ ...
0
votes
0answers
6 views

mod_rewrite Wordpress url change

I want to handle following specific url: www.testing.com/onboard/uehtietfmretvbcuymwvrbqtmvrktkqtrycitfqtvbiutfwkqeyfktwbcuhtwchtmihy1 (this will be the url in browser) to ...
0
votes
0answers
17 views

Pretty permalinks for subdomain installation

Currently, the only way my posts will appear is if I have Permalink settings set to "Default". I would like to set them to "Post name". When it's set to "Post name," I get a 404 not found error. My ...
0
votes
0answers
6 views

mod_rewrite issue

I am having problems all of a sudden with images not displaying. If I deactivate mod-rewite in .htaccess then images come back but I can no longer access post page permalinks having to resort back to ...
0
votes
0answers
15 views

Wordpress internally rewrite rule challenge

Questions 1: I work on wordpress website for a client. But the client like to have a deep level url structure. The custom post type can be from level 1 to unlimited levels in the url structure. ...
0
votes
0answers
25 views

htaccess url rewrite within WP installation

I want to use one of my subdomains to rewrite urls and finally forward to an origin extern domain. Example: goto.mydomain.com/1saKCA3 -> externdomain.com/1saKCA3 I already tried to implement the ...
0
votes
0answers
11 views

Create custom Rewrite Rule

Hi I'm trying to create simple multilingual plugin. For that I need to create RewriteRule, for example. example.com/fr/post1 or example.com/post1 How do I achieve this?
0
votes
0answers
20 views

Redirecting .aspx URL to a wordpress site page

A friend of mine have an existing site built in .NET, all the pages have .aspx in url on that site. Now we want to convert that whole website into WordPress. But the problem is that we don't want to ...
0
votes
0answers
53 views

Custom post type permalinks non working on wp 4.0

When I updated to WordPress v4.0 it removed all of my custom post type permalinks and replaced them with "/". I have 2 custom post types: "Business" and "Coupon". The permalink settings for Business ...
0
votes
0answers
14 views

Convert from .htaccess to web.config?

When I convert to web.config. It shows an error: <rewrite> <!--This directive was not converted because it is not supported by IIS: RewriteBase /.--> <rules> <rule ...
0
votes
0answers
23 views

how to rewrite folder name in url to another name

I am wondering wether it's possible to use Apaches .htaccess to rewrite a folder name - using a WordPress function. Lets say I have a url like: http://example.com/folder1/folder2/page.php Now I ...
0
votes
0answers
14 views

Rewrite blog at the beggining of my URL

So I uploaded a WP blog and I want to redirect ALL requests to my website (for example mysite.com) to blog.mysite.com with .htaccess. I've searched Google day and night to find a way to rewrite ...
0
votes
0answers
12 views

permalink problem in my .htaccess page

Please give me a suggestion for my question. when we set permalink in our site then the .htaccess code is RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond ...
0
votes
0answers
66 views

.htaccess wp mod_rewrite causing error 500 on subdomain which does not run wp

My website www.vegmomos.com is running on WP and my subdomain publisher.vegmomos.com is not running WP. The htaccess has following WP code: # BEGIN WordPress <IfModule mod_rewrite.c> ...
0
votes
0answers
25 views

Wordpress overrides custom 404 page with it's own

I want to create a custom 404 page, but I cannot seem to override the 404 which is in Wordpress itself. The reason I want a custom 404 page is that if I get 404 within my subdirectories I get directed ...
0
votes
0answers
18 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
0answers
33 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 ...
0
votes
0answers
57 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
71 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
30 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
35 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
18 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
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 ...
0
votes
0answers
47 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
19 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
33 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
0answers
22 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 ...