I would like to use permalinks to change the url of the pages of my wordpress but my actual hosting doesn't allow me to activate an Apache module.
Is there a way to change the permalinks style without Rewrite module?
Thanks in advance.
Well as #doublesharp said there isn't a way to do it.
If someone needs something similar this is what I finally did:
Set custom structure in your Permalink Settings and put this:
/index.php/%postname%/
This will create an structure like this:
http://youdomain.com/index.php/postname
Related
My site Permalinks structure is: /%post_id%/%postname%/
/%post_id%/
and
/%post_id%/%postname%/
are working correctly and showing the same content
I want to redirect every link with
/%post_id%/ structure
to
/%post_id%/%postname%/ structure without change Permalinks structure
Is there any way to do that using WordPress plugin or htaccess code?
The problem has been solved using Redirection plugin
permalink settings
Redirections plugin settings
I am building my own frontend interface to my wordpress site.
What I cannot solve is how to show friendly url like wordpress does.
I want go from this:
designals.net/demo/index.php?id=BACARDI
to this:
designals.net/demo/2014/04/BACARDI
Should I use .htaccess?
Thanks you very much in advance!!
EDIT: I am building my frontend from scratch (querying from database using my own php code), so wordpress settings may not take effects on my site, I need to match url rules of boths sides.
Go to Settings -> Permalinks, and change it to the "Day and Name" option.
Yes you need to use .htaccess. Go to Settings->permalinks and change the settings there
I have a Magento site installed at the root of my domain and a Wordpress installed in a subdirectory. Currently I access my sites like this:
Magento: "domain.com"
Wordpress: "domain.com/blog"
I would like to be able to use Wordpress Pages seamlessly, without the "/blog" subdirectory showing in the url, such as:
Wordpress Page-X: "domain.com/page-x"
Note that I do want to keep the "/blog" subdirectory showing normally for blog posts etc... I just don't want it for Wordpress Pages.
Could anybody help on how to set that up? I was think tweaking the .htaccess would've work, but I can't find out how. Other solutions are welcome too. Thank you.
Magento provides you with an option to create custom URL rewrites in the backend (admin) you can find it here. This way you should be able to create rewrites. Also if you want to automate the creation of rewrites you can refer to the core_rewrites table in magento's database. Also this is a good read if you want to do logic based rewrites on the fly.
I want to change my old domain name to new domain. What I ask here is how to redirect permalink structure with htaccess from
http://www.OldDomain.com/postname/ to http://NewDomain.com/postid/postname/
/%postname%/ /%postid%/
Straight answer is NO, you must not do this via .htaccess.
Wordpress already supports (and enforces) this permalink structure so it is much better and cleaner to goto Wordpress admin panel and change the permalink structure to /%postid%/%postname%/ in the newer installation of Wordpress.
PS: Note that even if you rewrite these URLs differently via mod_rewrite, WP will enforce and expect this to whatever is defined in it permalink definition.
I am moving my site from Drupal to Wordpress.
In Drupal, I can easily give an alias to URL and this alias could be anything., ie: www.example.com/abc/xyz/hello.html
But in Wordpress, it appears that I cannot do that with WP out of the box.
Any hint on how to do the same with Wordpress? I need to keep URL consistence.
Thank you
I just found out this plugin https://wordpress.org/plugins/custom-permalinks/ and used it to add caracters like slashes and points, to the urls of a website i am moving to WordPress, so far it's working.
Hope it will help !
You may be interested in Settings -> Permalinks, but I think you want more than that.
Take a look at the feature list for the redirection plugin. This allows you to setup redirects to other pages or do pass through redirections. If this isn't what you are looking for then I think there are a couple other plugins that may accomplish what you want. Hope this helps!
You can change the default urls in the Settings -> Permalinks. You should also have the option to change the permalink when you add or edit a post. There are also plugins available for permalinks (http://wordpress.org/extend/plugins/advanced-permalinks/)