October CMS : URL of the posts not set on the blogposts component - php

I'm working on a non profit's website and we're using October CMS and its blog plug-in to add publications to it. The problem is, when displayed on the /publications page, the posts title link to the same page instead of their specific post's page (/publications/post/:slug) despite having specified the page to the component inspector. Nonetheless, typing the correct link (e.g. /publications/post/first-blog-post) still redirects to the correct page, so I guess it's something to do with RainLab's interpretation ? I tried setting the link to a 404 or any other page, it stays as /publications.
Has anybody ever encountered this problem and/or knows how to solve it ?
Thanks :)

Have you set all of the settings?
See this screenshot:
It's very important to set post page and post slug.

Related

Drafted page gets updated when added new page in Wordpress within WP-Engine

I am facing an wiered problem while adding new Page in the wordpress.
Steps:
Create a new page with title "Test one" and save it in the draft.
Immediately create another page with title "Test two" and save it in draft.
Observe that page with title "Test one" is not visible in the drafts section, only "Test two" is visible.
I have also observed the post id assigned to the page after save. The post id for the two pages was same while saving it. (now it shows only latest one.)
The first page gets updated by the second one because of the same post id.
The same behaviour is occurred with Posts as well.
Can anybody explain why wordpress behaving like this and do not allow to add new page?
I have searched over an internet about the issue and read that for SEO the site should have handle duplicate contents for SEO.
Is this the case that's why wordpress not allowing to create new page
with similar title?
Thank you.
I have tried your issue with fresh wordpress working well
May other plugin causes issue.
The issue was created because of Cache-Control header which was set in the .htaccess file.
Due to this edit-post.php is getting served from the disk cache.
The problem gets resolved.
One more quick question if anybody has answer to this.
Is it recommended to set headers in the .htaccess or do we have to set
it in any other place?

Change tab title for Wordpress site?

I just completed a custom wordpress site for a client and am wondering how to change the tab title that you see at the top of the browser to display the name of the company instead of the whole url ... so in my example I want it to say Kirby's Moving Company instead of kirbysmovingco.com/ and then behind the name of the company id like it to display the page such as Kirby's Moving Company - Home even though it won't be visible in the actual tab since the company name is so long. I'm including a screenshot that shows how I want the tab to link by using another site that I've built and then showing the Kirby's Moving link and how it looks.
Here is the screenshot:
Any help is appreciated, thanks so much!
Check this out:
Hello, try this: https://codex.wordpress.org/Appearance_Customize_Screen (just go to Appearance_Customize_Screen > Site identity and modify the site title
Source
Also you could also read this, It might help!

How to find a page in drupal to edit?

I have a page in Drupal which is coming when clicking on a my account link,
I want to change some content of this page, but I couldn't find page in the script. The URL of the page is
http://localhost/example_drupal/node/8135/edit?destination=sa/view-forms%3Ffield_sd_club_name_value%3Dnes%26field_form_status_value%3DAll
Please anyone help me, how to get the same page in Drupal to edit it?
So, url to your page is /node/8135 and url to it's edit page is /node/8135/edit . You got both ulrs there.
For easy search nodes use Administration Views module. Module add search field in pages list.

wordpress does not give 404 error

Hello all!
I want to know that when we click on menu item in wordpress website, It takes us to the url associated with that link but how wordpress does that! I mean, the following url :
http://www.example.com/this-is-another-page/
I know wordpress will get the data from database but How wordpress will handle this url because the page is not available it should give 404 error
please tell me.
I am learning php.
WordPress handle this page by checking few things.
WP Check the credential by POST ID
First it's check the POST Exists or not? If not published then it gives you the 404 error.
WP check whether the post is published or not? If not published then it gives you the 404 error.
Then it's render the information from the database.
When you create a link that page link is added in the database. If the page is not created and you put a link that not exist, wordpress will bring you up a page error template.

Hide Javascript file from Analytics

I apologize ahead of time for the non descriptive title, as I wasn't really sure how to word this.
I've currently switched some of my Wordpress sites that have a responsive design that implement a slider over to WooSlider. Works super well, and I love it. However, there is something stopping me from switching all of my sites over. And I understand this is not a WooSlider only fault, but it's something I cannot Google and find out.
This is happening on every page view, even those without a slider.
In Google Analytics it shows domain.com/?wooslider-javascript=load&t=1352743207&ver=1.0.0 as a page view. For every single page. I obviously don't want this, but I don't know how to get rid of it.
Another example of this happening is using Gravity Forms with a referrer info plugin that shows page views, search query, browser, etc.
When the form is sent, the following is sent via email.
Page visited 1: domain.com/?wooslider-javascript=load&t=1352743207&ver=1.0.0 (http://domain.com/?wooslider-javascript=load&t=1352743207&ver=1.0.0)
Page visited 2: domain.com/about (http://domain.com/contact/about/
Page visited 3: domain.com/?wooslider-javascript=load&t=1352751787&ver=1.0.0 (http://domain.com/?wooslider-javascript=load&t=1352751787&ver=1.0.0)
Page visited 4: domain.com/contact/ (http://domain.com/contact/)
So obviously I don't want that js file to show up as a page view. How can I remedy this?
Thanks!
Google Analytics Configuration Mistake #2: Query String Variables
wooslider-javascript,t,ver

Categories