I am new in wordpress but my senior gave me a project for code review but i could not find the phsical page by the url.
so i want know how to find a page which shows on url.
In admin side there are no. of pages so how to identify the page.
Related
I have found multiple postings with similar phrases but all too specific to their issue and not addressing this...
Most of the website requires a login session. I have built a custom plugin for WordPress to handle my CMS needs, etc. I have included a blog in the website. However, my issue is... How do I require login when "blog" is selected on the menu. AND I do NOT want to show WordPress anything. I want the blog to look like the rest of the site.
Basically I want to "nest" the blog in my website with one required login session. I have the menu item "blog" set as a category so as to pull the WordPress pre-built functionality. So this is the only item I am not able to php a login session as there really isn't a page to do so.
I have read several things. But finding them a bit confusing. Many say to change the wp-config.php but I am not comfortable with changing core files within WordPress. What am I missing or misunderstanding?
UPDATE:
Would changing the menu selection to a "page" instead of "category" and insert php file within that page with a redirect using header('Location:mysite.com/blog_files (of course after session verified) to redirect where WordPress has stored my blog? Is this a viable work-a-round?
You can use your wordpress as API point. Wordpress comes with REST API. So what you can do is get all posts after certain action. Then parse them in html.
There are 2 things to keep on mind.
1st is that everything on wordpress is post.
2nd is that to change certain parts of how api works you add filters to functions.php.
Hope I was helpful.
UPDATE
I have successfully "nested" my blog into my website so that login session is required. Changing the menu selection to a "page" instead of "category" and insert php file within that page with a redirect using header('Location:mysite.com/blog_files (of course after session verified) to redirect where WordPress has stored my blog files. This was quick and easy. However, it still requires WP login to participate in the blog. :(
Solution:
The problem was actually SEO Yoast. It creates "Archives" for posts and authors, creating a whole load of crap on the website.
The current template for our wordpress website originally was html only.
A guy we hired some time ago, did the transfer so to speak, but there are some problems.
At the moment the website contains "www.website.com/blog" and various "www.website.com/2018 or /2018/06" links that google does it's damnedest to index. Some of the links return a 404 occasionally as well.
Because we do daily blog post's everything is naturally copied over to those "/blog" pages. The results is 52% duplicate content (according to Siteliner)
I'm writing here looking for advice, because I don't know how to get rid of them or how to manage them to reduce the SEO related impact. I also didn't find post relating to this specific problem.
(example of the problem "multiorders.com/2018/07/page/2/" )
Our post links are set to website.com/sample-post, someone had suggested adding a "RedirectMatch 301 ^/([0-9]{4})/([0-9]{2})/(.*)$ http://yourwebsite.com/$3" into the .htaccess file.
I can tell you the basic structure to avoid the Duplicate content issue and the URL structure issue. Both are really important and can say main factor for Seo purposes.
Structure:
First one, Create a blog page (Already created on your website). On that page there must be shown the all blog posts that you have entered in the admin panel at POSTS menu. The lists of all blogs www.example.com/blog here as you said. In that page there should me pagination that means if you are showing 10 posts per page then the 11th post will be on the www.example.com/blog/2 and so on. (acceptable foe seo purpose).
Secondly, If someone clicks on the post or Read more button it should redirect the
single blog www.example.com/blog-post-name (perfect for seo).
To change the permalink (URL Structure) you have go to the admin settings menu -- permalink menu-- change to post name and Save.
Note: Take a backup before applying
Any questions, please ask..!!
The problem was actually SEO Yoast. It creates "Archives" for posts and authors, creating a whole load of crap on the website. As soon as I disabled those features all the extra pages vanished. Now all I need is to wait for Google to catch up.
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.
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.
I have a website with like 50-60 dynamically generated pages, where I implemented the like button along with open graph protocol (ogp).
I want to manage this pages like a regular facebook page and post to my fans, for that I have specificed myself as page admin in the meta tags and liked my posts but I can't find this page in my manage pages section.
I tested my website by adding/removing different meta tags to make it working and tested it on facebook linter tool. Somehow I got two pages in the manage pages section but the remaining are not working.
You can view my website here:
http://freshlylike.com/view.php?id=404
Please help.
Thanks,
happyhardik
That's because in order to see those pages in you Manage Pages section, the admin listed in the open graph tag has to actually click the link - according to Facebook
Each listed user must click Like on
the URL to be approved as an admin.
This is to prevent users being made
admins without their consent.
I encountered the same problem too, so might have to work around that.