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
1answer
226 views

Passing parameters to a custom page template using clean urls

I am now passing parameters to a custom template in the following format www.example.com/?pageid=12&rid=24&title=this-is-the-title I have created two tables . So I need to fetch data and ...
1
vote
1answer
94 views

WP Super Cache unable to locate cache file for only the homepage

I have WP Super Cache working perfectly on all pages of my blog except for the homepage. I'm using the PHP caching method (mod-rewrite is not compatible with my specific configuration with suPHP). ...
1
vote
1answer
189 views

mod_rewrite loop, redirecting http to https on certain section of wordpress blog

I'm trying to rewrite 3 sections of a wordpress site to https if they are accessed over http: /cart/ /my-account/ /checkout/ As well as these rewrite's worpress has added a rewrite to remove ...
1
vote
1answer
58 views

WP & Server Speed [Teacher Question]

I'm a teacher and have used multisite WP for two years now as a resource for completing assignments. This spring semester, I have the most students that I've had on my site (30). Prior to this ...
1
vote
1answer
378 views

Correct htaccess to display page while also passing in GET parameters

I have a wordpress page named: directory (it uses a custom template). When I call the page with: http://localhost:8888/wordpress/directory/?segments=listings/list It gives me the results I ...
0
votes
1answer
16 views

3 domains, 1 wordpress install, redirecting and changing domains on live site

UPDATED & SIMPLIFIED: I have one Wordpress install at Host #1 with a domain (Domain-A) at Host #2. Domain-A was used for the WP install. I have Domain-B & Domain-C at Host #3. I need ...
0
votes
1answer
33 views

.htaccess redirect not properly working [ ?utm_source=]

I have a wordperss blog. This blog has two domain names (example1.com and example2.com). In my situation, example1.com redirected to the example2.com. This redirecting work properly. I saw that ...
0
votes
1answer
81 views

Serve apache 404 for missing assets rather then wp 404 template WP_Rewrites

I have a custom 404 page, but dont want serve it for every broken asset that may crop up. Instead I want to just serve the Apache 404 as its much faster. I've found the following htaccess rule that ...
0
votes
1answer
84 views

Prevent users from accessing mp3s in my uploads folder?

I have mp3 players set up to play mp3s on my site. The mp3s are all being uploaded to the uploads folder. I don't want people accessing these directly, meaning I don't want people to be able to ...
0
votes
1answer
59 views

redirect old pages by .htaccess

i want to redirect pages from www.sitename.com/sitename/pagename.html and www.sitemap.com/sitename/?page_id=213 to www.sitename.com/sitename/pagename how i can do that by using .haccess file i ...
0
votes
1answer
56 views

Wrong page displays as home page

My website www.makowerarchitects.com loads up 'something' (for lack of a better word), whereas the correct Home page that needs to show upon visiting the site shows under ...
0
votes
1answer
61 views

Permalinks in Multisite not working

I'm using a subdomain multisite and I receive a 404 when trying to visit posts. The main domain works, but the permalinks aren't working. When I use the default permalinks, they work, but when I use ...
2
votes
0answers
134 views

get_permalink returns default link

I hope you can help me. So i'm using /%postname%/ as permalink structure, and my htaccess is this: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /develop/sekai/ ...
1
vote
0answers
41 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
119 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
50 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
55 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
66 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
37 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
64 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
159 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
180 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
100 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
97 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
94 views

Having a sub directory with a separate site

Hi I am new to wordpress and I have successful installed my blog wp site. The location of this is on my go daddy hosting server under "\". So WP has installed everything there and I see different ...
1
vote
0answers
71 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
343 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
367 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 ...
1
vote
0answers
111 views

Adding Contact Form 7 to my anti-spam rules in .htaccess

I have the following rules set in my .htaccess file to block spam. It works by not allowing anyone to login, register, or make a comment unless the conditions are met. It works, but I would like to ...
0
votes
0answers
15 views

Content-type return text/plain instead of text/html after login as admin

I have a website at http://blog.rhinoera.com/. Hosted at Webfaction, which uses nginx as reverse proxy to serve php. Everytime I login as administrator, the http header that webserver returns ...
0
votes
0answers
14 views

categories to subdomains using .htaccess without plugin

I need to do the following thing Mapping this subdomain live. mywebsite.com/something to mywebsite .com/live/something for examples : www. live.mywebsite.com/ ==> www. mywebsite.com/live/ http:// ...
0
votes
0answers
14 views

Can exclude posts preview [ ?preview] query string on .htaccess RewriteCond?

I have added the query string on .Htaccess. Now my utm_source type quires are automatically redirected to the original URL. But when I preview the posts (when I editing old posts), I can't see the ...
0
votes
0answers
12 views

How do I append a RewriteCond to add_rewrite_rule?

I need to easily add a rule in my plugin that has a condition check (to prevent an infinite loop). I will use: RewriteCond %{QUERY_STRING} !getparameter to prevent the redirect when our url has the ...
0
votes
0answers
17 views

Redirect registration=disabled page

I need users who land on this page... http://subdomain.example.com/temp/wp-login.php?registration=disabled To be redirected to http://subdomain.example.com/temp/register I am using multi-site so I ...
0
votes
0answers
35 views

Adding in Custom Directory/Path in URL Without Effecting Permalinks

After several tries of piecing together different forms of add_rewrite_rule() and .htaccess edits, I have not been able to find a solution that works. I want to add in a custom directory to a ...
0
votes
0answers
20 views

Add-on domain works in Wordpress but links still lead to subdomain

I know this looks like a common question, and I assure you I've tried a bunch of responses, but none seem to work in my case. I'm a Wordpress noob so I might be making some basic error which I can't ...
0
votes
0answers
56 views

Restrict download files from not generated Urls

I use a plugin in WPMU that encrypt all downloads urls in wp-content/uploads/ : The downloads can still be accessed if users know the path to the file: e.g. ...
0
votes
0answers
43 views

Trouble with pretty permailnks buddypress .htaccess custom posttypes

I have a buddypress/bbpress website that also has multiple additional custom post types. After adding each new custom post type I would update permalink settings to correct the 404 not found occuring ...
0
votes
0answers
32 views

Registration Fail Redirect Problem

We use two registration links allowing users to register for different roles: /wp-login.php?action=register&utype=subscriber /wp-login.php?action=register&utype=contributer The subscriber ...
0
votes
0answers
188 views

Why 'Authorization Required' is coming on wordpress login

When i try to login to my WordPress blog admin why this pop up error come .. "Authorization Required" http://stpatrickscollege.edu.pk/wp-login.php
0
votes
0answers
36 views

Corrupt htaccess after bulk changes

For some reason when I make bulk changes - such as mass edit tags or mass delete posts - my htaccess file becomes corrupt (lines of text disappear) leading to a 500 internal server error. I have a ...
0
votes
0answers
52 views

Stripping queries on Wordpress using .htaccess

I recently moved my blog from Movable Type to Wordpress. My permalink structure is mywebsite/category_name/entryname.php Movable Type paginated by adding a query to the index page. For eg - ...
0
votes
0answers
91 views

“Wordpress Firewall 2” Causes 403 Forbidden Error in wp-cron.php Thwarting “BackUpWordPress”

My web sites have been hacked in the past, so I set up certain security features on each site like a firewall plugin, for instance. In fact, the week after I forgot to re-enable the firewall when ...
0
votes
0answers
80 views

Prevent PHP execution via htaccess but disables thesis theme?

So I'm trying to secure my wordpress site because it's been infected multiple times with malware. One of the suggested steps is to basically prevent php execution in the wp-content directory via ...
0
votes
0answers
46 views

Permalink rewrites not working

with a structure of http://mysite.com/myblog/ I am trying to set up rewrite rules for the pages and posts in the blog, but they break and show a 404. I confirmed that mod rewrite works by manually ...
0
votes
0answers
106 views

Redirect from one url to another. Qtranslate and search engine problem

I've changed my qtranslate configuration. I access to the english version now with: http://en.mydomain.com/news/this-is-a-post In search engines I have my pages indexed with this structure: ...
0
votes
0answers
63 views

Domain & Wordpress Installation on seperate Servers

Today I wanted to change my wordpress url. I register the domain from another provider, not from my own host. This morning, I got an mail from the registrar saying that the url now points to my ...
0
votes
0answers
56 views

Rewrite main domain to subdirectory

I can't find any answers nor questions about this issue. So here goes. My site is installed in this folder: public_html/SITE then I use .htaccess to make a rewrite rule which looks like this: ...
0
votes
0answers
46 views

Wordpress multisite redirections

This will be kind of a long question, but I think I need to give you complete information in order for you to understand what is the issue about. Firstly, I setup a wordpress install, in my root ...
0
votes
0answers
104 views

.htaccess & permalink causing 404 errors on old pretty links

Ok, so I know similar issues have been posted before but I have yet to find a solution. I was foolishly messing around with plugins and my .htaccess last night and got myself into this pickle. ...

1 2