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
2answers
352 views
Redirect wrong links Wordpress
I am using the following permalinks structure: /%postname%/ and I also have some multi-page posts that look like /%postname%/2.
The problem is I see a lot of 404 errors in webmaster tools for urls ...
1
vote
1answer
316 views
Restrict access of admin uploads to certain logged-in users?
This is a very open-ended, speculative question with lots of possible angles: has anyone worked with ways to restrict the access of certain uploads to a logged in user?
I.e., how can the site admin ...
1
vote
1answer
250 views
Server crashed trying to restore wordpress multisite, images are not found pls help
I had an issue with a server that was serious enough to have to take it completely offline and then rebuild the os.
I have gotten to the point where the new server is up and running. I have managed ...
2
votes
2answers
5k views
How to change “wp-admin” to something else without search-replacing the core?
for example: foobar.com/wp/edit instead of foobar.com/wp/wp-admin
How would I do that?
I've tried using this in htaccess but it won't work:
##### ABOVE THIS POINT IS ALREADY INSERTED BY WORD PRESS
...
6
votes
6answers
7k views
Cannot access non-wordpress subdirectories as wordpress overrides them with a 404 error
I refer to this question previously asked and not suitably answered:
Wordpress overriding actual subdirectories
and also
Non "Wordpress" pages/code getting 404 error.
I have the same ...
1
vote
1answer
61 views
How to redirect http://mydomain/blog/blahblah/ to http://mydomain/blahblah/ in wordpress htaccess?
I would like the htaccess rewrite rule to compare to IIS rewrite rule I tried which doesn't seem to work:
<rule name="rewrite /blog/">
<match url="^blog/([_0-9a-zA-Z\-]+)/$" />
...
2
votes
1answer
507 views
Issue with using .htaccess to redirect feedburner feed
I am using year/month/post-name permalinks, and also using the download-monitor plugin to handle file downloads. I added rewrite rules to the top of the .htaccess file following the instructions at ...
2
votes
2answers
1k views
WordPress upgrade now receiving Error 101 (net::ERR_CONNECTION_RESET): Unknown error
We have just updated to WordPress 3.1.3 by following the WP manual install tutorial. Note: This is a Network-enabled (multi-site) install. After uploading the new files, we now get the following error ...
2
votes
0answers
158 views
need a help for modify .htaccess rule [closed]
here is my wp .htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond ...
40
votes
7answers
4k views
Best collection of code for your .htaccess file [closed]
We have the Best Collection of Code for your functions.php file thread, so I thought that it might be useful to create a thread for our .htaccess files.
AND PLEASE REMEMBER TO ADD ANY OF YOUR OWN ...
5
votes
1answer
228 views
Clash of the rewrites
I have a category called 'neighborhoods'. I also have child categories within 'neighborhoods' E.G. Lakewood, Highland Park...
When I click 'highland park' the url is ...
0
votes
3answers
280 views
How to redirect a virtual page (e.g. /blog) to the home page?
I want my to reach my website's main page when entering an url like:
http://example.com/blog
However, I can't seem to get it to work with a typical rewrite rule:
RewriteRule ^/blog$ /
I'm always ...
0
votes
2answers
476 views
How do I redirect a post url to a custom url?
I've created a page that loops posts. Each post acts as a category link so that when you click it brings you to a category archive.
My issue is that wordpress somehow overrides my htaccess and ...
1
vote
1answer
133 views
If I change permalink structures, can I use htaccess to permanantly redirect links?
Ive got some super old links that have a lot of SEO juice and I dont want to lose that if I change permalink structure. This is partly due to the older version of WP i have (2.1)
I want to use post ...
2
votes
2answers
100 views
Wordpress best solution shared theme for consumers and businesses (two url's one instaltion)
What would be the best solution for a wp (cms style) site containing a sub site
for consumers and businesses.
I've made a wp theme and its almost finished. In essence its gives you two choice to ...
2
votes
1answer
906 views
Hijacking the URL for filtering
Right, here's the deal. I've got a loop of which displays news posts, these posts can belong to special categories (not normal categories) and I want to be able to filter by them.
If I wasn't too ...
0
votes
2answers
964 views
mod-rewrite exception? keep #hash in matching urls?
Hey guys,
My WordPress permalink structure is set to `/%postname%/.
When I create a page with a name "FAQs" the permalink generated is "mydomain.com/faqs".
When I link to this page in my code ...
0
votes
5answers
9k views
How can I make an htaccess file on a Mac? [closed]
I'm trying to set-up pretty permalinks for my site. WordPress has a warning that my htaccess files is not writable. It provided some code to copy and put in the htaccess file.
I'm on a Mac, my local ...
0
votes
1answer
515 views
Redirecting all old links from previous EE site to new WP site in one go?
I'm about to migrate from an old Expression Engine website to a new WordPress site on the same domain. Is there anything I should be aware of with respects to redirecting old links?
The old site is ...
2
votes
4answers
2k views
WordPress permalinks Yahoo hosting(no .htaccess allowed)
I have moved a Wordpress install to a client from sub folder to the root folder. Right now, everything works fine, except for the friendly URLs. I currently have to set the Permalink feature in ...
0
votes
3answers
2k views
Wordpress redirection problem after moving to a new server?
I've created a site using wordpress and i moved that from localhost to new server.
The steps i've followed is just got backup of old db from localhost and uploaded them to the new server. Changed the ...
1
vote
3answers
2k views
TimThumb & htaccess : clean url
Do you know if there's a way to alter via htaccess the timthumb urls ?
My question is if i can change for example urls like this
...
1
vote
1answer
342 views
Wordpress 3.1 .htaccess contents keep dissappearing?
I have Wordpress 3.1 installed in a subdirectory of a shared hosting account, it's a linux server and mod_rewrite is enabled and working fine elsewhere. The contents of the .htaccess file disappear ...
3
votes
1answer
2k views
Rewrite rules in .htaccess get overwritten?
I'm not able to make it work by adding custom rewrite rules into functions.php or adding custom permastructures either. I have this code in my .htaccess that is working fine.
# BEGIN WordPress
...
0
votes
2answers
851 views
Problems redirecting to “pretty” permalinks (wordpress in Subdirectory)
I've got problems getting pretty permalinks to work.
When changing the permalinks (e.g. to month/name), my .htaccess (in the wordpress directory - there is another one one level up) is changed like ...
1
vote
1answer
278 views
Wordpress slugs and 404 handling takes preference over folders in site root?
I have wordpress installed and permalink structure set to /%postname%/
In addition to WordPress folders, I also have a public_html/beta folder where I wanted to copy the same site and test some ...
0
votes
1answer
649 views
How to avoid wordpress permalink rules to inherit in a sub-folder
I have WordPress installation on the root of a website, I need to install another application on a sub-folder but that application got its own set of rules for URLs on its .htaccess file, my problem ...
1
vote
1answer
5k views
htaccess disable Wordpress rewrite rules for folder and its contents
I have another PHP application in a folder named app inside my Wordpress installation, and I need to disable all Wordpress rewrite rules for that folder and it's content. So that when I go to ...
1
vote
1answer
149 views
htaccess redirect dynamic posts
Probably not the correct fora to ask, but.. Also probably a simple question..
We are changing our site to Wordpress, and need to redirect old posts.
Previously structure:
...
0
votes
2answers
663 views
Why is my mod_rewrite not working?
Ok I have a WP site using the permalink structure of /%category%/%postname%/
I have built it in the way of page templates, using category queries inside, i.e.
page-help.php
<?php $my_query = new ...
0
votes
1answer
179 views
Wordpress and Htaccess
Removing RewriteBase / from my htacess has sped up my site which is still working correctly.
Is it really required and what is it for?
0
votes
3answers
803 views
WordPress category gives 404 after moving to a different domain
I just moved a site from one domain to another and now category links are all 404. I have flushed the rewrite rules, recreated the .htaccess file but still it throws up 404.
Weird thing is that if I ...
1
vote
1answer
416 views
How to override .htaccess with new rules without ftp or edit it manual
I want script will add new rules to current .htaccess and user no need to ftp or edit it manually.
Example, I use timthumb for resize image on my theme and want rewrite the URL and current .htaccess ...
1
vote
1answer
435 views
htaccess or redirect to cloak portion of a link?
I have an ad rotate plugin installed to display a few ads on my site but the plugin is coded so that it uses the full directory in the ad count link. I would like to know if there's something easy to ...
0
votes
3answers
556 views
Why does WordPress 3.0.4 keep deleting the contents of the .htaccess file?
I just installed WordPress 3.0.4 on a GoDaddy hosted server. And I've been having a problem with my .htaccess file. For some reason, WordPress automatically erases all the mod_rewrite configuration ...
0
votes
2answers
988 views
How to? Redirect /category/sci-fi/ to /category/scifi/?
I changed the wordpress category slug from "sci-fi" to "scifi" a few months back by accident.
How can I redirect
/category/sci-fi/ to /category/scifi/
so that /category/sci-fi/page/2/, ...
-1
votes
2answers
2k views
How to: 301 Redirect /category/ to /customname/
I've changed our "category base" in WP settings from the default "category" to "customname".
Now there are 404 errors to links containing the old category slug eg. mysite.com/category/names
What do ...
2
votes
1answer
3k views
Wordpress .htaccess subdirectory problem
I've been having some issues with my Wordpress install allowing me to access subdirectories, specifically a CodeIgniter install at mydomain.com/codeigniter. I know that technically it should work just ...
0
votes
1answer
255 views
Date based redirects of posts that no longer exist
I want a more elegant way to express the following redirect:
RewriteCond %{REQUEST_URI} ^/blog/2008/(.*) [NC, OR]
RewriteCond %{REQUEST_URI} ^/blog/2009/01/(.*) [NC, OR]
RewriteCond %{REQUEST_URI} ...
1
vote
1answer
158 views
Using HTACCESS for Secret Access
I saw this post yesterday http://digwp.com/2011/01/simpler-login-url/ where a 'custom' word is used to direct the user from url.com/admin to url.com/wp-login.php and I'm asking (also did so in the ...
-1
votes
1answer
311 views
htaccess strip url
I have my permalink set to %postname%/%location%/%course% I want this permalink %location%/%course%/%postname% but due to this I get 404 on every page but not on posts,
I decided to put this permalink ...
3
votes
2answers
605 views
W3 Total Cache Plugin with WP 3 MultiUser
I'm having some strange behavior with my W3 Total Cache solution working on my multi-user Wordpress 3 installation. The multi-user is setup to use sub directories, and I'm using all types of caching ...
0
votes
2answers
178 views
hosted wordpress.com to local directory?
This question was posted at onstartups - one that I frequently hear.
Figure that I would ask the experts over here - can one maintain a hosted wordpress.com blog yet make it a subdirectory under ...
0
votes
1answer
401 views
Wordpress login fail after .htaccess domain redirect
I use .htaccess to redirect requests to my (new) domain to another domain hosted on different server. The file contains:
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond ...
1
vote
2answers
1k views
Domain redirect in Wordpress multisite
I have two domains www.domain1.com and www.domain2.com, both pointing to the same host. What I want to do is redirect www.domain2.com to www.domain1.com/domain2.
I got this code for a .htaccess from ...
3
votes
3answers
842 views
Options for restricting access to wp-admin
So i've installed a plug-in which allows me to enable two-factor authentication for my users. The problem is that to enable the plug-in i have to log in as that user and enable it via their profile ...
3
votes
1answer
1k views
Wordpress multisite causing Error 101 (net::ERR_CONNECTION_RESET): Unknown error [duplicate]
Possible Duplicate:
WordPress upgrade now receiving Error 101 (net::ERR_CONNECTION_RESET): Unknown error
We have just installed WordPress 3.0.1 and everything worked fine. However, as soon ...
2
votes
2answers
544 views
Using WP rather than .htaccess to redirect pages/posts
I run a site with over 100 specific redirects in the htaccess for legacy html files that were subsequently brought into WP. There are also rules for pages within a date range to redirect to the home ...
0
votes
1answer
776 views
How can I resolve a .htaccess internal server error setting up a WordPress multisite?
I am stuck in .htaccess file creation for multisite. I am getting an error in page now internal error 500 and when i checked my log in apache it says C:/www/vhosts/localhost/wordpress3/.htaccess: ...
2
votes
4answers
627 views