My website like www.example.com. I need to go to redirect a url as 'press.example.com' when click on the blog. I went through a lot of reference but could not find any solution. How can I change the url for only the blog page. Any help would be appreciated.
Normally this is done by creating a custom menu item which links to an external link, as this is a separate site the blog settings in the example.com website are not relevant in this case.
Related
I'm trying to build my theme for a school project and I'm using wordpress to set up a blog.
I don't have intentions of sharing this theme so all of the website design is already premade.
The problem occurs when I try to enter the blog.php file from my navigation. My homepage is index.php file from which i navigate to the blog site. Everytime I do so the index page refreshes instead of opening the blog.php file, but the browser search bar shows the directory location as blog.php.
Wordpress does not work on a process of just make a file and it can be used as a page. Instead, it uses template structure. Meaning blog.php is not a page, it is a template (if you have setup the file structure correctly). Putting link through a menu to "blog.php", confuses WordPress and it just displays the default page of the site. You should make each page through WP "Pages" section.
StackOverflow hates WordPress questions. WordPress has its own help forum. I suggest googling for it and ask questions there.
If I mistook your question here are some helpful links:
https://developer.wordpress.org/themes/basics/template-hierarchy/
https://codex.wordpress.org/Theme_Development
I added a page in wordpress. Wordpress created a url like
https://mywebsite.com/page-title
but I want to change this url like https://mywebsite.com/se/page-title
My Permalink Settings shows https://mywebsite.com/sample-post/
and website is already indexed on google so I can't change my paramlink setting.
I also tried with htaccess and also from wordpress add_rewrite_rule() but no result is coming.
Any help how can I do this?
The simplest way to make your page url like www.example.com/se/se1 instead of www.example.com/se1 is to create page se and se1 make as child page of se.
With this option you'll saved your wordpress website permalink structure, you'll in not need to change your other pages redirects for google indexing
I am new to Magento. My client assigned me a task. I completed the task mostly, but one thing that I don't understand and also my client don't understand. When I preview the home page from admin panel, I get this page opened.
But I open live website, this page opens:
When I put content on CMS page in admin panel, it gets visible on page preview, as you can see the heading Google Maps, I put this string in content, but is not visible in the live page. What's going on there, I don't understand. Please help me to solve this problem.
Website URL: http://spacedookie.com/
http://spacedookie.com/ is site landing page and http://spacedookie.com/home is cms page.
Magento have provide any cms page to set as landing for the site.
According you site your site default layout is 1col but this cms page layout 2-col right
You need redirection 301 http://spacedookie.com/home to http://spacedookie.com/
check 301 for Magento, redirect the url from "www.domain.com/home" to base url "www.domain.com"
Goto admin>CMS>Pages>Select your home page > then goto Design tab select page layout
1colums and save it
Go to system >> Configuration >> Design and check your selected package and theme under each scope. mainly under default config.
My WP website is currently set to use the following permalink structure:
http://websitename.com/%postname%/
If I change that it to:
http://websitename.com/%year%/%monthnum%/%day%/%postname%/
everything works correctly. Specifically, older blog posts posted elsewhere (e.g. my FB page) redirect to the new URL automatically.
However, if I use a custom permalink structure and set it to the following:
http://websitename.com/blog/%postname%/
the redirect does not work on older posts. That is, I can still access all of the posts from the site, but if I linked to one of my blog posts on my Facebook page, for example, the old URL produces a 404 and does not redirect. I am thinking it has something to do with "blog" not being one of the variables that WordPress recognizes.
Any thoughts on why this is happening, and how to fix it?
Thanks in advance!
You can use wordpress quick redirect plugin for redirection
http://wordpress.org/plugins/quick-pagepost-redirect-plugin/
It is simple to use
I have a WordPress blog. All the post are currently in this convention:
http://www.myblog.com/blog/?p=1442
Now I'd like to change the URL of all posts like this one:
http://www.gomidjets.com/blog/this-is-my-post
While it's quite easy to apply it by changing the blog settings, the big problem is about the links I've placed
in many external website. I can't change them, and I'd like to map the old links to the new links somehow.
Do you know how to do it - if that's possible at all?
Do you have a better solution?
Thank you very much
Wordpress will map all old URL to new one, in case if you provided all URL in their original shape, such as http://example.com/?page_id=80
The answer is: you don't need to do anything.
I believe what you're looking for can be found in the admin panel.
In the admin panel (http://www.your-wordpress-site.com/wp-admin), go to Settings > Permalinks
Login to the admin panel first,
go for the settings->Permalink Settings
Select the format you want.
If you want change the base url for only some posts then you can edit from database.
Try this Redirection wordpress plugin to redirect your old url to your new url.
The URL's should resolve fine because the original URL you're using is the permalink one to my knowledge. If you're wanting end users to be redirected to this url, that's a bit harder.
That aside, I couldn't find any plugins that already did this. What you want to do is check the current URL against the wordpress function get_permalink() and if it doesn't match, redirect to the current permalink URL.