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)

0
votes
0answers
39 views

How do I properly manage URLS for wp installs within addon domains and subdomains?

All this is specific to cPanel, Softaculous-installed WordPress installs. So I'm not quite sure I'm posting this in the right place.. but fingers crossed you guys will be able to help me out with ...
0
votes
1answer
413 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
2answers
28 views

Force HTTPS using .htaccess - stuck in redirect loop

My Wordpress website is located at example.com/wordpress and I need everything inside to be accessible only using SSL. I've created a .htaccess rule that redirects http -> https: RewriteEngine On ...
0
votes
1answer
16 views

How can I create a private site that is inaccessible from the outside?

I need a safe place where I can store data about projects that I am working on. This data includes text and files (pictures, sound and video). I want to create a private "blog" for this purpouse that ...
0
votes
0answers
14 views

Does WP suppresses .htaccess if permalinks are disabled?

I would like to use a .htaccess file, but still use the default link structure of WP. I didn't turn on permalinks, but did create my own .htaccess file. To my surprise, the file is being completely ...
1
vote
1answer
566 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
0answers
44 views

Gzip issue with mailchimp and comment-reply.min javascript files

I am testing my site against GTMetrix and in YSLOW, I have the following warnings: **Compress components with gzip** There are 2 plain text components that should be sent compressed ...
1
vote
1answer
34 views

How could a .htaccess with authentication suddenly appear or change?

When trying to mark a comment as spam, I was presented with a basic-htaccess login. I couldn't login and then I remembered I do not have a basic login: the only thing my .htaccess in the wp-admin ...
0
votes
0answers
16 views

Redirect ALL subfolders to subdomains automatically

I've read several topics about redirecting some single pages to subdomains. There aren't a lot that explains this well and all requires me to manually edit the htacccess or create some folders for ...
0
votes
1answer
47 views

Troll the hackers by redirecting them

My website is getting somewhat popular, and with the it's increasing popularity there's an increase in the hackers. Last night I visited my security logs and found that everyday approximately 10 ...
0
votes
1answer
241 views

Temp URL Redirect Loop

I am attempting to set up my site using a temp URL (IP/~username/domain) through hostgator, but I am running into some issues. I have gone into the database and replaced all instances of my old domain ...
1
vote
1answer
478 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
2answers
332 views

Old blog/ and blog/feed/ URLs not working after moving blog to top-level via .htaccess

For a long time I served my blog from http://www.murrayc.com/blog/, with the wordpress installation in /home/murrayc/murrayc.com/blog/. Now I've moved it to http://www.murrayc.com/, without moving the ...
0
votes
0answers
4 views

Making a physical folder containing .htaccess without breaking WordPress [migrated]

I am currently relaunching a website, moving from an archaic CMS to WordPress. Unfortunately there will be thousands of unavoidable 301 redirects to set up due to a complete change in site structure. ...
1
vote
1answer
26 views

Redirect blog archive into certain format

My blog archive URLs were like: http://example.com/2014/03 I changed my site's permalink from /%postname%/ to /%postid%/%postname%/, and using Redirection plugin, I set a redirection like: and ...
0
votes
1answer
677 views

Error uploading files bigger than 58 MB

For uploading files bigger than 58meg I get HTTP error. or IO error when using media uploader or 500 Internal Server Error when using browser uploader in WordPress v3.5.1 Multisite . It seems to get ...
1
vote
0answers
26 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
1answer
19 views

Redirect an old link to new site homepage [closed]

I need to redirect a single link www.abc.com/blog/?p=123 to www.abc.com/newblog/ I have used: RewriteRule ^blog/(.*)$ http://www.abc.com/newblog/ [R=301,L] It is redirecting all sorts of links but ...
1
vote
0answers
20 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 ...
0
votes
1answer
59 views

How to redirect all pages of a blog to a new blog

I have two wordpress blogs integrated with two different websites. Both websites have the following structure. www.mysite.com -root -index.html -about.html -blog (folder which contains ...
0
votes
0answers
21 views

Issue with permalinks for custom post type

I have a little issue here... When i'm using default permalinks, everything works great, but when I set up %postname% permalink in settings, my template with custom post type is not loaded. ...
1
vote
1answer
37 views

Wordpress multisite subdirectory redirect infinite loop issue

Any time I create a new site on my multisite install, I get an infinite loop redirect when navigating to that site's admin. I'm using the default htaccess supplied by WP for my subdirectory install. ...
0
votes
3answers
258 views

Can't Access Subdirectory

I've moved my blog from http://leghumped.com/blog to http://leghumped.com/ and now I can't access my /images directory. I've tried every combination of rules from trawling for people with the same ...
0
votes
1answer
354 views

Custom url structure - pages under a custom post type

I'm struggling with the structure of my Wordpress site and I was hoping you might be able to give me some advice. The site is for a series of events and the structure is as follows: Gateway ...
1
vote
1answer
39 views

Nginx rules for subdomain multisite install (Bedrock)

I'm trying to move an existing Bedrock based multisite instance to nginx and am having difficulty getting a set of nginx rules to mimic the original .htaccess. Bedrock places the crux of the files in ...
1
vote
2answers
1k views

How do I turn off 301 redirecting posts (not canonical)?

I noticed a strange behavior in WordPress where it automatically 301 redirects certain URL structures for posts. For example, I have a post entry for: mysite.com/999/about-us Then, you would think ...
0
votes
0answers
12 views

How to Display HTML Site Images in Directory Above WordPress Installation

I have WP in a subdirectory of its own. I have two .htaccess files. The first is in the domain root: RewriteEngine on RewriteCond %{HTTP_HOST} ^automaticallynow\.com$ [OR] RewriteCond %{HTTP_HOST} ...
1
vote
1answer
29 views

Only default permalink is working mod_rewrite enabled

My problem is in my wordpress site only default permalinks is working.. When I change permalinks all pages become not found.. only home page is showing. When I change permalinks to postname .htaccess ...
1
vote
1answer
16 views

How to secure files based on format and word in file name with wp-config or htaccess?

I have a wordpress site that I would like to secure specific files in the uploads directory, so that they can only be accessed by logged in users. The files either have the word "oneperson" or ...
1
vote
1answer
219 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
2answers
237 views

add_rewrite_rule to remove /category/ from permalink

Hi I have many permalinks across my site that looks like this: http://www.mysite.com.com/market/category/slug/slug/slug/ http://www.mysite.com.com/market/category/slug/slug/ and would like to hide ...
0
votes
0answers
13 views

Wordpress double post name distinguish by term [duplicate]

I am working on a store locating Wordpress template where I have 5 categories for services. In each category I have 500 cities. I have rewritten my url from: http://www.website.com/post-type/post ...
0
votes
1answer
15 views

(Bluehost) navigating to the dashboard via mydomain.com/wp-admin/ results in directory listing

I recently had my WordPress blog's domain reassigned as the primary domain on my BlueHost account. The blog is in a sub-folder of public_html/. Below is the contents of the .htaccess file I ...
0
votes
1answer
21 views

VServer/Rootserver/Shared Hosting: Multiple WordPress installations each having their unique domain?

Hello I think this is a beginner question, but I just do not know how to achieve this: Imagine the following: /public_html/ [Domain = foo.com] /public_html/wp_subproject1/ [Domain = bar.com] ...
0
votes
1answer
55 views

Wordpress constantly running out of memory

My Wordpress installation on a shared hoster is constantly running out of memory: The error pops up at seemingly random, for example when uploading photos or sometimes without doing anything just ...
0
votes
1answer
35 views

Apache rewrite rules and wordpress problem

I tried to fix my problem by using wordpress rewrite rules but sadly it took me so long I tried this approach. I got it working for one of my simpler problems but now I can't get it to work for my two ...
0
votes
0answers
25 views

Changing WP location and wp-content folder name witouth loosing SEO

I'm trying to make my site the most efficient way as possible, and I find out thant changing lot of things in permalinks , security folders , etc, works pretty well. But what happen if the WP, is ...
2
votes
1answer
1k 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 ...
0
votes
1answer
22 views

.htaccess and virtual host configuration for WP in its own directory

I've been taking a look at the modern WP development approaches using Composer and so on, for example Bedrock or WordPress-Skeleton. I'd like to adapt these approaches ad create my own WP ...
0
votes
1answer
33 views

htaccess redirect for all categories converted to tags now showing 404

I have a WordPress site which syndicates content from a number of sources and auto creates categories and tags. I have converted a large number of categories to tags which now leaves a ton of ...
0
votes
0answers
24 views

Using root permalinks with a subdirectory install

My WordPress Address (URL) http://mydomain.com/wordpress My Site Address (URL) is http://mydomian.com My site works fine when accessed from http://mydomian.com and I have no problems to speak of, ...
0
votes
2answers
68 views

Simple seo-friendly custom $_GET url rewrite with htaccess

I have this url: http://sitename.com/?game=runescape Is it possible to modify the htaccess file or rewrite the url via Wordpress to become like this: http://sitename.com/game/runescape
0
votes
1answer
25 views

URL redirect on updating the post date

I updated the date in the post. But the old URL has already gone viral and people end up in a deadlink as "page not found". I tried using Simple 301 Redirect WordPress Plugin and also Permalink ...
0
votes
0answers
18 views

Folder installation to be in ROOT

What I want to achieve is just a simple removal of the /folder name after my website.com URL and have all my links and WordPress login just under website.com/wp-login.php. 1.) I did a restore ...
0
votes
1answer
41 views

Rewrite Question

I'm having troubles with creating my rewrite. I've been searching here (and other sites) for an example, but so far, no luck. My testing site is: ...
1
vote
1answer
89 views

WWW to non WWW redirect effects on load speed

I was using pingdom to test the load speed on a site I'm working on and got different results for www vs non www. Wordpress automatically redirects to either www or non www depending on the settings. ...
0
votes
0answers
54 views

Migration from old CMS to WordPress 301 redirection rules?

I need 301 redirection rule for migrating old CMS to WordPress. On old CMS I have URL structure like this: I wish is to move my site to WordPress and to have all old (or most) URLs with 301 redirect ...
0
votes
0answers
30 views

Custom URL rewrite rule for migrating to WordPress

I am trying to move my image gallery site from one CMS to Wordpress. On current CMS I have page with medium size image on it with URL: ...
0
votes
0answers
43 views

Multisite domain redirect subdirectory non-www to www without breaking root site

There are a ton of questions asked on Multisite domain mapping but none I can find with an answer that works for me. I am using subdirectories. Here is my configuration: (1) Root non-www: ...
0
votes
0answers
36 views

Using htaccess and php to protect file, MIME problem

I'm using the method described here: Protecting WordPress Media Uploads Unless User Is Logged In (Based off of How to Protect Uploads, if User is not Logged In?. The redirect is working perfectly, ...