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.
0
votes
0answers
11 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:// ...
-2
votes
0answers
15 views
Htaccess redirect for Wordpress groups [closed]
I want to redirect http://www.mydomain.com/group/keyword/
to http://www.mydomain.com/portfolio/keyword/
Any help would be greatly appreciated :)
0
votes
0answers
13 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
1answer
28 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
0answers
18 views
htaccess rule to block login attempts with username “admin”? [migrated]
I've removed the username "admin" from my installations but wp-login.php is still getting hammered.
Is there a way to use htaccess to block any requests from even getting to wp-login.php with if 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 ...
1
vote
1answer
18 views
WordPress .htaccess to consider blog as directory
I redesigned an old (static) website to WordPress CMS. Now that site is WordPress based with 'blog' as a page displaying all posts. On previous (static) version, they already had a separate WP blog ...
1
vote
1answer
75 views
Using wp_redirect and .htaccess to re-route searches (and pass along the remaining GET vars)
I'm trying to use wp_redirect() to redirect searches to a format that I have established in .htaccess. Unfortunately, I'm running into some problems doing this.
I need to redirect search to a series ...
0
votes
1answer
29 views
Prevent Wordpress from automatically correcting URLs
I notice that if I type in http://www.example.com/pag I can land on an existing page that has a name like http://www.example.com/page_five. I don't know exactly what causes this, but I want to know if ...
0
votes
0answers
34 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
18 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
53 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. ...
1
vote
1answer
32 views
3 blogs same installation, without WP MU
I've to create 3 blogs (different DOMAINS) on the same wordpress installation (I cannot use WP MU, unfortunately) so I came out with the idea that I could use categories, instead, so... every blog has ...
0
votes
0answers
40 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
31 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
178 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
1answer
34 views
What is the proper way to use add_rewrite_rule to remove the (question mark)?
I have a page called "People" with a custom template that takes in a variable called name:
example.com/people/?name=FirstLast
What I want is this:
example.com/people/FristLast
I know I need to use ...
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 ...
-1
votes
1answer
23 views
Can I redirect the http request towards an old folder to the homepage using .htaccess file? [closed]
I am in the following situation: I had an old blog that was made using Joomla (this blog was indexed well enough by search engines). Due to some problems I deleted it and moved the site over to ...
0
votes
0answers
51 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 - ...
1
vote
0answers
38 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 ...
0
votes
0answers
83 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
1answer
38 views
Issue after changing permalink structure [duplicate]
My old permalink structure is like this:
domain.com/POSTNAME/
My new permalink structure was switched to this:
domain.com/CATEGORY/POSTNAME/
I need to set up a 301 redirect in htaccess that ...
0
votes
0answers
9 views
Wordpress duplicate content with wp_link_pages [duplicate]
Currently I am using wp_link_pages in my single.php post template using
<!--nextpage-->
to split a post into multiple pages, but i have a serious problem with google webmaster and duplicate ...
0
votes
0answers
77 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
1answer
109 views
How to rename index.php to home.php
I rename index.php to home.php and put a flash in index.php. In the flash I make an effect and after it played 5 minutes it redirects to home.php.
I put this code:
<IfModule mod_rewrite.c>
...
0
votes
0answers
44 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
1answer
79 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 ...
-1
votes
1answer
22 views
Url redirection using htacess for my website
my website has some development issues i really need some help
When someone types www.mysite.com/mysite.com/mysite.com/anypagename.php
a page opens up which shows data of the original page but ...
0
votes
1answer
80 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
34 views
Rewrite vs Redirect from ?p={ID}
WordPress does a 301 from http://example.com/?p=100 to http://example.com/post-title/, but I thought a URL rewrite was different from a redirect and therefore this wouldn't result in a 301.
Can ...
1
vote
1answer
95 views
multisite htaccess 301 redirects
I've got a multisite sub-domain install with 3 sites on it. 2 of the sites use domain mapping.
The main site (id=1) requires several 301's that are old pages from a previous structure such as:
...
0
votes
0answers
100 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
1answer
83 views
Where to put W3 Total Cache rewrite rules in .htaccess?
Should I put them in the following order or the order doesn't matter at all?
# BEGIN W3TC Browser Cache
# END W3TC Browser Cache
# BEGIN W3TC Page Cache core
# END W3TC Page Cache core
# WordPress ...
0
votes
0answers
61 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
1answer
55 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 ...
1
vote
1answer
96 views
W3 Total Cache CSS & JS files GZip issues
Having checked my site with google page speed and gzipwtf.com I have noticed that my css and js files are not getting compressed (although html is).
Have tried unchecking " Prevent caching of objects ...
0
votes
0answers
55 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
1answer
85 views
custom permlink .htaccess file 404 Not Found error
i read alot of atricles taking about this but i could fix my problem yet .. i want to make the permlink custom
/%category%/%postname%
and i searched for the .htaccess in the wordpress files and ...
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
1answer
52 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 ...
1
vote
0answers
118 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 ...
0
votes
1answer
77 views
ow to change cutsom page url of wordpress site using htaccess
i need help in httaccess rewrite of a wordpress site. i have url like below
http://thewhiterabbit.dk/beta/steder-detail/?id=floos
i want it to be like
...
1
vote
1answer
213 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
0answers
48 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
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).
...
0
votes
2answers
33 views
Remove .htaccess portion upon plugin deactivation?
I have a plugin that inserts some rewrite rule in the .htaccess file. However, upon deactivating it, doesn't remove said rule. The rule is nested in # BEGIN My plugin and # END My plugin.
I want to ...
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 ...
1
vote
2answers
132 views
How do I edit the htaccess file to optimize my website?
Hi I have tried to optimize my website energyshop.se for a cpl of days but I cant seem to get it done. This is how my .htaccess looks like:
Header unset ETag
FileETag None
# Hantera och redirecta ...


