Django cms don't append home page url - django-cms

I'm using DjangoCMS 2.3 and build all the pages in a tree structure beginning from the Index page. Right now all urls looks like this /en/index/<page_url>. How can I make cms ommit the /index/ part and be just /en/<page_url>?

You don't have to put the other pages bellow the home page. So instead of:
|-index (home page)
|- page 1
|- page 1.1
|- page 2
you can do this:
|- index (home page)
|- page 1
|- page 1.1
|- page 2
The first page in the tree is implicitly declared as the home page and marked with an icon in the page tree:

Related

Access url index instead of /home wordpress

I would like to ask on how I can access my wordpress website index(homepage) without the /home in the url because currently I can access my website index when add the /home in the url.
Thanks!
Please go to your admin panel
then
Open : Settings -> Reading
and set a Front page displays to A static page (select below)
and select you page from "Front page" drop down
and then save changes
this may be help you
www.example.com/home to www.example.com
It has two method to do this:
Method 1:
>> Login to you admin section area
>> select the Settings -> Reading
>> choose the static page radio box and then select you page which you want to display as a home page in your case it is /home
=======
Method 2:
>> Login to you admin section area
>> select the appearance =>Customize
>> select the Static Front Page and after this you need to to choose A Static page under the Front Page Display and choose you page form the select box.
Hope so this will work for you :)

Create custom pages on Ghost

I'm looking to add some more .hbs files to ghost/custom/themes/casper, such as an about page and landing page. This way, all files are using the same default layout and I have a /blog destination for my blog.
However, when I create an .hbs file, such as about.hbs, and give it the same code as in page.hbs, and upload it to the theme folder, when I go to my-url.com/about, it gives a 404.
So, how can I create custom .hbs pages?
Create the page with the specific slug in the Ghost backend.
Create the .hbs-file named like this: page-about.hbs.
From Ghost Documentation on custom pages:
For example, if you have an 'About' page with the url /about/, adding a template called page-about.hbs will cause that template to be used for the about page, instead of page.hbs, or post.hbs.
These templates exist in a hierarchy. Ghost looks for a template which matches the slug (page-:slug.hbs) first, then looks for page.hbs and finally uses post.hbs if neither is available.

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

Wordpress Home page and Index page

How do I make my Index.php page my home page. Please I am trying to make a slide show on the home page and I don't think it is working because of the Index.php is not set as the home page.
Create a new page - put your HTML code on that page(only in Source) and set that as Frontpage in Appearance -> customize -> Static Font page -> Front page displays.That will do the work . :)

Cloning custom home page

I want to know how to clone custom home page in wordpress. Why I want to do this? I want to do home page with 2 languages, but I cant transate this custom page and I want to home page as regular wordpress page, then I can translate this.
I already tried this by using Page Builder, but prebuilt (clone:pages) is empty, and I dont know how I get there this custom home page.
Thanks for helping.
You have to create page template for home page.
and then admin side create a new page named home and select home page template in template section.
now your page is act as other normal pages.

Resources