Magento - Homepage Preview is different than the Homepage Live View - php

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.

Related

Wordpress loads subpages without refreshing and adds subpage content under the content of a previous page

I'm creating a custom theme for a Wordpress website for my client.
As far as I held the theme on my localhost wordpress website, everything was fine - when let's say browsing the home page and clicking on the link, a specific subpage was loaded from start to finish - it was totally okay.
Now, on the client's website my theme works like this: When browsing the homepage and clicking on the link, instead of loading the page, Wordpress adds its content under the content of the homepage and it seems like its doing it without reloading. In order to see only the content of the subpage, I need to refresh the page.
Plugins installed:
Activity Log for MainWPAdvanced Custom Fields Alpine PhotoTile for
Google Plus and Picasa Block Bad Queries (BBQ) Contact Form 7 Display
Posts Duplicator Google Analytics for WordPress by MonsterInsights
MainWP Child Jetimpex Dashboard Plugin Security Scanner Really Simple
SSL Remember Me Controls Site Kit od Google Sucuri Security -
Auditing, Malware Scanner and Hardening UpdraftPlus WordPress
Importer
Explanatory image:
You can use Ajax, for example,
Home
about
contact
23 is the page id home, 24 for about and ...
then you create a javascript file and write a javascript code that when the user clicks the link, the ajax trigger and send data-id to backend.
So, create a function PHP in backend and get data with page id and return the content with wp_send_json...
below link helps you implement an ajax in WordPress:
How to call ajax in wordpress

Wordpress home page accessing

Yesterday I asked this question but I think I bad posed my question and I still didn't solve it.
Therefore I'm trying to describe my problem a bit more:
I am developing website on wordpress using woocommerce. And I need to set my SHOP page as a HOME page. And everything would be fine if I just set it in settings, e.g. set Homepage as an static page or redirect it.
But I need to add Home page to menu and access it from shop page after clicking it in MENU.
So the question is: Are there any posibilities to change Main page SLUG for instance to /blog so I could redirect / to shop and then add to menu /blog link to access HOME page ?
(now I'm using cookies and redirect users only once but it's not the best solution)

In wordpress how to identify physical page?

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.

Magento SSL Problems with Navigation Menu

After activate SSL, i got error in my navigation Menu.
Our Base URL: http: // www.mydomain.com
Our Secure URL: https: // mydomain.com (without www)
Our Problem is: I stay in my Account (or) view cart (or) checkout page, after that I decide to go back to my category menu (fashion), so i click fashion menu in Main Navigation but it is going back home page (with Secure URL), not going to fashion menu pages. if i click company logo, it is going base URL. after that, i can go to fashion pages.
normally, we don't need to all activate SSL for pages. only login, my account and checkout page.
Anybody know how to solve problem? pls let advice me. Thanks.
have you try using some trick .htacess redirect?
basicly if you don't want using SSL for all page you can setup domain redirect using .htaccess after you add redirect code on htaccess you need erase cache on var/cache/

Custom PHPFox V2 Landing Page

I have a social network built using PHPFox and it's proving to be quite a challenge to change the default landing page. Does anyone know how I can change the default core.index-visitor landing page without having to adjust all the menus and everything? Would it be easier to just upload all the files for my custom landing page then redirect the apache configuration file to point to the new landing? Or can I do that from the .htaccess file?
You can do so by editing the welcome blocks in the admincp.
You can modify welcome.html.php file
to change landing page
in user module
user/template/default/block/welcome.html.php
May that helps you

Categories