Wordpress : rename the section url name - wordpress

I'm managing a site under Wordpress using a visual page builder to create the page and the content (Unyson plugin).
The main content is on the home page (one page style).
The result is nice but the different pages (different parts on the home page) take the name of the section id on the url bar.
Eg for the contact page: ../#section-79
What i would like : ../contact
Here is the site>>> Click on the footer links to see the pages names in the url.
1- Can we give a "title" to a section id ?
Or we have to change the id itself to change the url ?
2- Did not find the file where to change page and section id ?
I should check in the plugin files ? Or the theme files ?
Thx for help

I have had a similar problem. You can change how the path to every WordPress page looks like straight in the WordPress Settings. Here is more detailed information about this process: http://codex.wordpress.org/Permalinks
Hope this helps.

Related

Move pages to subdirectory in Wordpress

I have a Homepage setup made with wordpress.
All pages are in the root directory:
www.example.com/
is it possible to move some of my pages to a subdirectory ?
like:
www.example.com/products/
It is important that the root directory stays the same.
Here is simple way to do it.
Create a blank page in WordPress called "Products".
Then for all other pages, select "Products" page as "Parent" page.
Now new url of the page will be like:
yourrootdomain.com/products/page-name
Do the same for all pages you want under the "Products" base/directory slug.
Let me know if you cannot get it working or don't understand it or it does not solve your issue.
Here is how to select Page's parent in page attributes section on add or edit page screen:
https://en.support.wordpress.com/pages/page-attributes/#parent

Put categories on PAGE url wordpress

Ok, here is the thing I have already added the categories to the pages (with the help of a plug-in, it's called Add category to pages) and so now I want to change the URL to display the categories (that is to say I want my pages to have this estructure: mysite.com/%categories%/%page_name% right now it has his structure: mysite.com/%page_name%), I have tried to google it but I can't find a straight answer. So if anyone has some resources (tutorials, articles) or some idea (if it's not to much to ask with code examples) on how to achieve this it would be fantastic. (And believe me, I'm asking as my last resource)
you can do it easily with "Page Parent" option available in WordPress.
Steps To create a subpage
Go to Administration > Pages > Add New screen.
In the right menu, click the “Page Parent/No Parent” drop-down/page attribute widget. The drop-down menu contains a list of all the Pages already created for your website.
Select the appropriate parent page from the drop-down menu to make the current Page a child Page.
Add content to the subpage.
Click Publish when ready.
Output - https://example.com/asia/india/
More Info. - Wordpress Subpage Permalink
well you can do this for categories and products from permalink setting, but if you want to manipulate the page url according to yourself then you need to create an blank page with the prescribed name whichever you want to insert, i.e, if you want to insert amazon within the url then create an url with name of amazon, and put the other url's under this parent page.
This way your url will look like
http://example.com/amazon/page_name
Unable to post as comment so directly posting it in an answer, in WordPress you can have custom URL. After you logged I'm as admin under dashboard you have general settings where you can put custom URL's like http://example.com/%caregory%/page_name
For more reference also checkhttp://codex.wordpress.org/Changing_The_Site_URL
I don't know if you tried this but after you login as admin, under Dashboard>>Settings>>Permalinks>>Custom Structure.
Let me know if you have already tried that.

error on wordpress index page

I made a wordpress theme myself and now I want to upload it without "wordpress" in the link: (example.com/wordpress/home) so it should be a normal link. I followed a tutorial to reach this. The whole site is visible in the correct way, but only the index page gives an error.
For example (index page not working):
http://protoformat.nl/
(working page):
http://protoformat.nl/home
The tutorial I followed is in Dutch, but I will add it to this post too:
http://wpsitebouw.nl/wordpress-verplaatsen-van-map-naar-hoofdmap/#
Who can help me with making the index page visible without an error? I already took out 'wordpress' from the link.
Thanks!!
Try this. You need to make sure
Go to Administration > Settings > Reading panel.
Set 'Front page displays:' to 'a static page' and choose the page you created
(your homepage) as the 'Front page.' If your WordPress site will contain a blog section, set 'Posts page' to the page you created for the blog. Otherwise, leave this blank.
Save changes.
Enable "Permalinks" to show the "page title" in the address.

How do I create a static page and redirect to a WordPress blog without moving files?

I have WordPress installed in the main directory. I want to create a static page so that when the person clicks "click here". It goes to the wordpress blog.
I have tried this two ways thus far.
Created a custom page in wordpress and then had it set as a static page. Problem when someone clicked the linked it redirected back to the splash page.
Put the files in the main directory. Problem the person would have to go to www.example.com/splash.html to get there. I tried creating a htaccess but host gator will not let me.
edit: I figured it out using
<?php
if( (strpos($_SERVER['HTTP_REFERER'], get_bloginfo('home')) === false) && !$_SERVER['QUERY_STRING']) :
?>
What is the purpose of the splash page if its just one link on it?
One option is to create your page within wordpress and set the frontpage to show as a static page (under settings > reading). On that page link to your /blog/ category or to a custom template page that displays all your blog posts.
If you want to have the same design as the page currently has, you can make a new template out of you current index.php file.
http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates
The simple option is to use a plugin.
http://cochinoman.com/2009/02/16/wordpress-plugin-for-splash-screen/
Gives you the option to Continue on or go back.

Wordpress blog page

Quick question (quick deadline...I know I can use google).
I'm writing a site on Wordpress w/ a static home page, it has a few pages--I want the 'blog' page to show the wp entries...what's the best way to set this up.
Right now I have a static template for each page (with content rendered), but of course, the blog page doesn't show the posts...
Thanks for the help!
Create a Wordpress Page Template by making a page with any name and this comment at the top:
/*
Template Name: Blog Enitres
*/
Go create a page, use that as the template (there is a selector on the right hand side). Call it whatever and save it. This is your static page.
Then, after that, go down to Settings > Reading and change the 'Home' page to be the page you've created.
Then create an index.php and save it. This will be the template for the displayed posts. Create an empty page and select it at the 'Posts Page' in settings.
To learn more about this functionality go here.
To learn more about the Wordpress loop and how to display entries, visit codex.wordpress.org

Resources