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.
1
vote
1answer
279 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
96 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
223 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
60 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
405 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 ...
2
votes
0answers
144 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
54 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
124 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
56 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
57 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
70 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
39 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
68 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
165 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
188 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
102 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
101 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
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
349 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
377 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
116 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
26 views
Custom Page Template not working when site moved from subfolder
I have been testing and redesigning my site in a subfolder: http://theseattlevine.com/wordpress2013
Today I am launching the site and have followed these instructions ...
0
votes
0answers
11 views
Multisite Subdomain Redirect Mask
I've seen many questions and answers regarding this subject, yet I can't seem to get this to work.
Here is my setup.
I have my main domain:
www.example.com
On that domain, I've installed WP ...
0
votes
0answers
24 views
“regular” pages not found after changing permalink
My regular pages with the default theme can not be found, but my frontpage that is a page but it has an other theme works, even my custom post type pages work.
In my permalinks settings I have ...
0
votes
0answers
28 views
Empty permalinks settings in .htaccess
Permalinks not working other than set to "Default'. I want to change it to /%postname%.html, and default .htaccess is as follows:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
...
0
votes
0answers
21 views
incorrect path of plugin dir on network
I am using wordpress 3.5+ and I use it as network.
I read that the plugins I upload are activated for all the sites on that network.
So here is the issue. I uploaded a plugin say XYZ. It uploaded ...
0
votes
0answers
39 views
htaccess problem not being able to overwrite previous rules
so guys, what i need to do is:
whenever someone ask for this url:
dev.site.com/noticias/id/tittle-for-the-news
( dev.site.com/noticias/([0-9]+)/([A-Za-z0-9-]+)/ )
it needs to get this:
...
0
votes
0answers
14 views
301 redirect htaccess on php?id=X not working in Wordpress
I'm trying to complete a htaccess 301 redirect on a wordpress website.
I'm trying to redirect: /directory1/file.php?id=3 to /directory2
I've been at it for an hour or so any advice?
0
votes
0answers
19 views
Wordpress blog not loading articles
I have set up a static website with basic information pages such that all of the static pages fall into one level and in that directory there is directory "blog" which contains a Wordpress 3.5.1 ...
0
votes
0answers
22 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
18 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
18 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
13 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
43 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
24 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
86 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
48 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
37 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
319 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
37 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
56 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
122 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
88 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
52 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
127 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
64 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
99 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
votes
0answers
18 views
www to non-www with subdomains through htaccess
I have two separate WordPress sites on the same domain, one installed in the following way:
http://subdomain1.domain.tld and http://subdomain2.domain.tld.
http://domain.tld redirects to subdomain1.
...
-1
votes
0answers
64 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:
...


