jeromevilayil12
Forum Replies Created
-
@catacaustic – Thanks for the reply.
I agree but migrating the existing content (pages & blogs) without affecting their SEO is a great challenge. How would you address this concern?The issue is resolved now. Found a solution to this.
1. To change the slug (https://zemez.io/wordpress/support/knowledge-base/changing-custom-post-type-slug/)
(a) Go to functions.php and paste this code at the end of the file:add_filter( 'your-post-type_post_type_args', '_my_rewrite_slug' ); // Here replace "your-post-type" with the actual post type, e.g., "cherry_services", "cherry-projects" function _my_rewrite_slug( $args ) { $args['rewrite']['slug'] = 'our-services'; // Replace "our-services" with your preferable slug return $args; }
(b) Chane the slug accordingly
(c) Refresh the permalinks in the dashboard.
2. To disable the slug from showing the archive page (https://wordpress.stackexchange.com/questions/135146/resolve-a-custom-post-type-name-vs-page-permalink-conflict-same-slug)
(a) Find the below snippet for the particular post type and set the value as false.'has_archive' => false,
(b) Refresh the permalinks in the dashboard.- This reply was modified 4 years, 5 months ago by jeromevilayil12.
- This reply was modified 4 years, 5 months ago by jeromevilayil12.
- This reply was modified 4 years, 5 months ago by jeromevilayil12.
Thanks, Bcworkz for responding.
Can you please tell me where to make the changes for the same? Should I make the changes in the functions.php file? If so what code to change?
Regards
JeromeForum: Networking WordPress
In reply to: How to import new blog theme to an existing WordPress site.Thanks, Niall for responding.
I tried using the Multiple themes and it is fulfiling the requirement of using different themes for landing page and blog posts. But I am not able to design header and footer for the secondary theme that I am using for the blog posts. I want the same design and layout of header and footer for both the themes.
Regards
Jerome- This reply was modified 4 years, 6 months ago by jeromevilayil12.
Forum: Networking WordPress
In reply to: How to import new blog theme to an existing WordPress site.Thanks, Niall for responding.
There are some concerns regarding the activation of the new theme.
1. Will it affect the theme settings of the existing theme?
2. In the future, if I need to design or edit on the new theme will all the design settings of the existing theme get affected?Regards
Jerome- This reply was modified 4 years, 6 months ago by jeromevilayil12.
Forum: Networking WordPress
In reply to: How to import new blog theme to an existing WordPress site.Thanks, Niall for responding.
I am considering to go ahead with Multiple themes. Now I need to change the settings for the header and footer for the new theme. How can I do that without changing or affecting the existing theme settings?
Regards
JeromeForum: Everything else WordPress
In reply to: How to import new blog theme to an existing WordPress site.Hello Nik,
Thanks for responding.
I forgot to mention in my query that, I want to use the blog posts that are already present on my main website. Now I want to use the new blog theme with its settings(design, CSS) for my blogs present on the main website.
I will test the “Multi theme” plugin but creating a subdomain on my primary server will affect all my SEO rankings for the posts that are doing well.
Making my query more clear:
I have posts that are on my main website(www.example.com/blogs) and the route for a single post is https://www.example.com/post-name. Now I want to import my new blog instance hosted on another server having a different theme onto the main website and keep both themes i.e existing theme for landing pages and new theme for blogs and also use the same routes so that I do not lose my google rankings.
Hope you get a more clear view of the query.
Regards
Jerome- This reply was modified 4 years, 6 months ago by jeromevilayil12.